mirror of
https://github.com/debnarpavol/spajanie_snimkov_uprava_jasu.git
synced 2025-07-02 06:37:20 +02:00
finishing touches, documentation mostly
This commit is contained in:
@ -1,10 +1,14 @@
|
||||
#Pavol Debnar
|
||||
#Thesis 2022/23
|
||||
|
||||
#for use of this script, TCP_IP address must be changed
|
||||
import socket
|
||||
import subprocess
|
||||
#from picamera2 import Picamera2
|
||||
import numpy
|
||||
import time
|
||||
|
||||
TCP_IP = '192.168.1.2'
|
||||
TCP_IP = '192.168.1.2' #needs to be BBX-mini address
|
||||
TCP_PORT = 5001
|
||||
|
||||
sock = socket.socket()
|
||||
|
@ -1,3 +1,7 @@
|
||||
#Pavol Debnar
|
||||
#Thesis 2022/23
|
||||
|
||||
#for use of this script, TCP_IP address must be changed and the folders in writeString and fileString
|
||||
import socket
|
||||
import cv2
|
||||
import numpy as np
|
||||
@ -22,11 +26,11 @@ def recvall(sock, count):
|
||||
count -= len(newbuf)
|
||||
return buf
|
||||
|
||||
TCP_IP = '192.168.1.2'
|
||||
TCP_IP = '192.168.1.2' #this address needs to be BBX-mini
|
||||
TCP_PORT = 5001
|
||||
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
s.bind(('192.168.1.2', TCP_PORT))
|
||||
s.bind(( TCP_IP, TCP_PORT))
|
||||
s.listen(True)
|
||||
conn, addr = s.accept()
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
#Pavol Debnar
|
||||
#Thesis 2022/23
|
||||
|
||||
#for use of this script, TCP_IP address must be changed and the folders in writeString and fileString
|
||||
|
||||
import socket
|
||||
import cv2
|
||||
import numpy as np
|
||||
@ -22,11 +27,11 @@ def recvall(sock, count):
|
||||
count -= len(newbuf)
|
||||
return buf
|
||||
|
||||
TCP_IP = '192.168.1.2'
|
||||
TCP_IP = '192.168.1.2' #needs to be BBX-mini address
|
||||
TCP_PORT = 5001
|
||||
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
s.bind(('192.168.1.2', TCP_PORT))
|
||||
s.bind((TCP_IP, TCP_PORT))
|
||||
s.listen(True)
|
||||
conn, addr = s.accept()
|
||||
|
||||
|
Reference in New Issue
Block a user