本文首发于个人博客https://kezunlin.me/post/b8847d9f/,欢迎阅读最新内容!
live video streaming over network with opencv and imagezmq
<!--more-->
Guide
imagezmq
git clone https://github.com/jeffbass/imagezmq.git
imagezmq has been tested with:
- Python 3.5 and 3.6
- OpenCV 3.3
- Raspian Stretch and Raspian Jessie
- PyZMQ 16.0
- 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
Reference
History
- 20190506: created.
Copyright
- Post author: kezunlin
- Post link: https://kezunlin.me/post/b8847d9f/
- Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。