pyfakewebcam icon indicating copy to clipboard operation
pyfakewebcam copied to clipboard

Get a green screen

Open jbrownkramer opened this issue 4 years ago • 1 comments

I am able to manipulate my webcam image and display it to screen. However, if I pass it into a pyfakewebcam camera, the feed I get when I ffplay /dev/video2 is the SIZE I set, but not the image. It's just green. Any ideas?

jbrownkramer avatar May 12 '20 01:05 jbrownkramer

hi, @jbrownkramer I have faced similar issues in the past with MVI errors and frame drops with camera and green screen, this might happen if your opencv resolutions are not working fine with frames passes, you can manually try changing them by

IMG_W = 640
IMG_H = 480

alternatively also try setting input video resolutions in ffplay//ffmpeg which might fix the issue. Try these options and let me know. Thanks.

parthsarthiprasad avatar May 26 '20 00:05 parthsarthiprasad