Know the number of webcam

asked 2018-09-16 02:35:55 -0500

Ghantey gravatar image

I want to write a script which detects the number of webcam using python script. I have been searching in web for a very long time.

edit retag flag offensive close merge delete

Comments

and what is stopping you from doing it ?

berak gravatar imageberak ( 2018-09-16 03:10:07 -0500 )edit

I don't find any method to do. Like to know if the camera is open or not I could simply do cam.isOpened(). But for it I don't know where to start

Ghantey gravatar imageGhantey ( 2018-09-16 09:16:35 -0500 )edit