Refactor video_presence to class

This commit is contained in:
heimbsle69869 committed 2019-08-04 22:15:28 +02:00
1 parent 71a00d4642
commit 91256c65fe
3 files changed
+172 -2

No files matched your search

+2 -1
View File
@@ -7,4 +7,5 @@ while True: # show streamed images until Ctrl-C
rpi_name, image = image_hub.recv_image()
cv2.imshow(rpi_name, image) # 1 window for each RPi
cv2.waitKey(1)
image_hub.send_reply(b'OK')
image_hub.send_reply(b'OK')