I am trying to use a USB webcam for a computer vision project that outputs the diminations of moving object. I installed openCV and tried my python code which it worked perfect on my PC, but when I ran it in my raspberry pi and the output was unexpected so I took a video output with cv2.imshow("video output", frame) to see whats going on and saw some thing strange. the video was flickering with some part red and some part blue. output of my video feed

1 Answer 1


It turns out that the problem was from the video source. The webcam was not compatible with OpenCV Although it worked with some other computer video input package very well

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.