issues
search
andreaschiavinato
/
python_grabber
Python tool to capture photo from camera and for doing simple image processing using DirectShow and OpenCV
MIT License
57
stars
27
forks
source link
Fixes for listing and discovery of devices/formats
#16
Closed
ramonbroox
closed
2 years ago
ramonbroox
commented
2 years ago
Some cameras return both VIDEOINFO and VIDEOINFO2 entries for the same formats, resulting in badly parsed VIDEOINFO2 entries.
When no camera is plugged, the filter_enumerator contains a null, causing an exception. This catches it and returns an empty list.