Virtual Webcam
A program to replace the background in your webcam image
Troubleshooting
Frame Height does not match
When you get a message like
raise Exception('frame height does not match the height of webcam device: {}!={}\n'.format(self._settings.fmt.pix.height, frame.shape[0]))
Exception: frame height does not match the height of webcam device: 480!=1080
check for one of this issues:
- When you configured width and height, make sure your webcam supports the resolution.
-
When another program is using the input device, the virtual webcam cannot change the resolution.
Stop other programs from accessing the camera before running the script.
-
Another program is using the virtual webcam device. Often another instance of the virtual webcam script,
which was not stopped correctly.
Back to the homepage