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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file dxrsubscriber-0.0.0.tar.gz
.
File metadata
- Download URL: dxrsubscriber-0.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e8a3efe772a10ac5cfb77b502f6df278b8978f21e06145b688ba5fe8fef417 |
|
MD5 | b397ba990049a8efbf7ebb5096c31339 |
|
BLAKE2b-256 | 4f510d4fbec0afff1d110a3baf2d8668562c16103be5c228664207be21400fa0 |
File details
Details for the file dxrsubscriber-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: dxrsubscriber-0.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cea086990ef425421923438be1ea74447d855dfdde8cc8702bf010fda20f7ae |
|
MD5 | 3956a00dfda98b0142227001fe5bf606 |
|
BLAKE2b-256 | b59dc206ee3c98d4f3f1eb49b540b3a10e616311607c73c04ac0d25d97465a22 |