jeffbass / imagezmq

A set of Python classes that transport OpenCV images from one computer to another using PyZMQ messaging.
MIT License
1.01k stars 160 forks source link

Question ?? #79

Open LamnouarMohamed opened 1 year ago

LamnouarMohamed commented 1 year ago

hi,

Thank you for sharing this repository, it's contains a lot of works, my question can I use imageZMQ with multi ip camera, or you can have another suggestions about streaming from multi ip cameras

jeffbass commented 1 year ago

imageZMQ sends a sequence of OpenCV images. Using imageZMQ requires using a camera that can capture individual OpenCV frames. ImageZMQ transmits this sequence of OpenCV images in the sending program and receives this sequence of OpenCV images in the receiving program. There are multiple examples of send / receive program pairs in this imageZMQ repository.

Most ip cameras send video streams using a video codec. Video codecs are not a sequence of OpenCV images, so imageZMQ is not appropriate for streaming video from ip cameras. There are multiple ways to receive a video stream from ip cameras. One way is to use OpenCV to decode the video stream on the receiving end into a sequence of OpenCV images. Here is a Stackoverflow question & answer about one example.

If you do not require a sequence of OpenCV images, there are many techniques to receive ip camera video streams, either using Python or various Linux utility programs. A web search with "Linux software for streaming ip cameras" can fetch multiple examples.