Newone
Newone copied to clipboard
video stream consumes too much data
the video stream consumes too much data cause we are converting numpy images into jpg's and sending chunks over udp (works, but if only one package is lost, whole image is corrupted and will result in noisy images or is unable to display). Maybe it would help to split the picture into smaller pictures and only send them if something changes significantly.
The perfect idea would be some video-codec, which is easy to connect with opencv/numpy. Something where I pass actual image frames and some frames before and it will give me a compressed byte array which i can than send over udp