kezunlin · 2019年12月25日

使用OpenCV和imagezmq通过网络实时传输视频流

本文首发于个人博客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:

  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.

Copyright

推荐阅读
关注数
2
文章数
52
[链接] C++,Python. Computer Vision and Deep Learning.
目录
极术微信服务号
关注极术微信号
实时接收点赞提醒和评论通知
安谋科技学堂公众号
关注安谋科技学堂
实时获取安谋科技及 Arm 教学资源
安谋科技招聘公众号
关注安谋科技招聘
实时获取安谋科技中国职位信息