Accessing all the usb camera names in python?

Is there a library or os method to access the names of usb cameras in Python, rather than accessing them by their index?

In worst case I can access each by index then access its name string until a while loop throws an exception and add the data to a dictionary.

How can I do this?

My program is meant to be used on Windows 7,8,10 but Linux support would be nice too.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.