Skip to main content

A ZMQ subscriber for receiving and decoding video streams.

Project description

ZMQ Subscriber

A ZMQ subscriber for receiving and decoding video streams.

Installation

pip install zmq_subscriber

from zmq_subscriber import ZmqSubscriber

subscriber = ZmqSubscriber("tcp://localhost:5555")
img, topic = subscriber.pull()
if img is not None:
    subscriber.show(img, "5555")
subscriber.close()


### 6. 生成分发包

在项目根目录下运行以下命令生成分发包:

```sh
python setup.py sdist bdist_wheel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dxrsubscriber-0.0.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

dxrsubscriber-0.0.0-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page