Skip to content

deirvlon/Python-TCP-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-TCP-Image

  • Send and Receive Image over TCP connection

Client:

  • Get camera frame as numpy array,
  • Convert it into bytes to be able to send over net

Server:

  • 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 .

Convert:

Releases

No releases published

Packages

No packages published

Languages