Distorted Image - Vertical lines on lower part of image. Help!

asked 2018-06-06 23:05:52 -0500

Hi ,

I am trying to do live streaming with OpenCV and python. I am not writing (imwrite) the image on disk. I am using "imencode" then, I send this frame to server, where I am using "imdecode" and eventually imshow/imwrite to see images. However, I am getting vertically distorted images when I am doing "imwrite". How I could fix this error? Thanks!

image description(/upfiles/15283441614385466.jpg)(/upfiles/15283441406081633.jpg)(/upfiles/15283441026677163.jpg)

edit retag flag offensive close merge delete

Comments

it's not imwrite() , which causes the problem here, but broken frames from your ip cam.

there isn't anything, you can do from the opencv side.

try an url with smaller resolution, improve the networking, etc.

berak gravatar imageberak ( 2018-06-07 00:36:34 -0500 )edit