View Code? Open in Web Editor
NEW
Send and Receive Image over TCP connection in python
Home Page: https://www.deirvlon.com
License: MIT License
python-tcp-image's Introduction
- Send and Receive Image over TCP connection
- Get camera frame as numpy array,
- Convert it into bytes to be able to send over net
- Receives bytes (data = connection.recv(388800)),
- Convert bytes into numpy array,
- After converting we get 1 dimentional array shape of (388800,1),
- Then we reshape this array into (270, 480, 3).
- This is the form of cv2 image .
python-tcp-image's People
Contributors
Watchers