Skip to content

leviethung2103/imagezmq_replicate

Repository files navigation

IMAGE ZMQ Library

Original repo is https://github.com/jeffbass/imagezmq

This repository is used to test the real scenario.

Installation

conda create --name imagezmq python=3.7
conda activate imagezmq
pip install imagezmq opencv-python 

Testing

Scenario 1: Test on local machine. The receiver is localhost

The client and server are in the same network.

The sender is receiving the streams from a camera through by RTSP protocol. Open the access for all connections at port 5555.

# Run the sender
python examples/pub_sub_broadcast.py 
# Run the server (receiver)
python examples/pub_sub_receive.py

The receiver is set up with hostname "127.0.0.1". Use the localhost.

hostname = "127.0.0.1"

Scenario 2: Test on local machine. The receiver is my public IP network

All the configurations are the same as scenario 1. However, at this time, the localhost is changed into "hunglv1994.ddns.net, which is the DNS for the public IP of my local network.

The private network is 192.168.3.x. I also opened the port 5555 the my network globally.

hostname = "hunglv1994.ddns.net"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages