Smart-Home am Beispiel der Präsenzerkennung im Raum Projektarbeit Lennart Heimbs, Johannes Krug, Sebastian Dohle und Kevin Holzschuh bei Prof. Oliver Hofmann SS2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

zmq_video_server.py 261B

12345678910
  1. import cv2
  2. import imagezmq
  3. image_hub = imagezmq.ImageHub()
  4. while True: # show streamed images until Ctrl-C
  5. rpi_name, image = image_hub.recv_image()
  6. cv2.imshow(rpi_name, image) # 1 window for each RPi
  7. cv2.waitKey(1)
  8. image_hub.send_reply(b'OK')