stream live video over network with opencv and imagezmq


Guide

imagezmq

git clone https://github.com/jeffbass/imagezmq.git

imagezmq has been tested with:

  1. Python 3.5 and 3.6
  2. OpenCV 3.3
  3. Raspian Stretch and Raspian Jessie
  4. PyZMQ 16.0
  5. imutils 0.4.3 (used get to images from PiCamera)

install tools

workon py3cv3  # use your virtual environment name
pip install pyzmq
pip install imutils

test

# terminal 1
cd imagezmq/tests
python test_1_receive_images.py

# terminal 2
cd imagezmq/tests
python test_1_send_images.py

received image snapshot

receive image

receive image 2

Reference

History

  • 20190506: created.

Author: kezunlin
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source kezunlin !
评论
  TOC