finishing touches, documentation mostly

This commit is contained in:
Pavol Debnar
2023-05-16 22:28:48 +02:00
parent df22c0846d
commit 7bad7740f8
7 changed files with 2700 additions and 7 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()