This Python 3.x script uses the OpenCV library to identify available video capture devices on the system. It iterates through device IDs from 0 to 99, attempting to open each one. Successfully opened device IDs are printed.
-
Install OpenCV:
pip install opencv-python
-
Run the script:
python cv2manycameras.py