使用OpenCV和imagezmq经过网络实时传输视频流 | live video streaming over network with opencv and imagezmq

本文首发于我的博客kezunlin.me/post/b8847d…,欢迎阅读最新内容!python

live video streaming over network with opencv and imagezmq git

Guide

imagezmq

git clone https://github.com/jeffbass/imagezmq.git复制代码

imagezmq has been tested with:github

  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 snapshotless

receive image

receive image 2

Reference

History

  • 20190506: created.

Copyright

相关文章
相关标签/搜索