https://github.com/dyh/python-socket-demo
python socket demo
transfer binary image files and text message via python socket.
Requirements
-
python 3.6+, pip 20+
-
pip install -r requirements.txt
numpy Pillow opencv-python
How to run
-
prepare some image files:
copy image files to "./images/" folder, make file path as: "./images/0001.png", "./images/0002.png", "./images/0003.png", etc.
-
run test-server:
python test-server.py
-
run test-client:
python test-client.py