Know the number of webcam

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

Ghantey gravatar image

updated 2018-12-15 19:17:07 -0500

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


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