Open
Description
Reported: https://stackoverflow.com/questions/77107362/float-division-by-zero-python-webcam-pygame-camera
Source:
pygame-ce/src_py/_camera_opencv.py
Line 74 in 681f5b5
It makes sense that this could return 0 if unknown, and then crash. The solution is likely to rewrite the OpenCV camera backend to use threading so it can convert the blocking OpenCV API into our non blocking API.