How I can retrieve webcam info in python? -


i need retrieve number of webcams instaled in system , brand, manufacturer, device id, etc., of webcam. there way in python, , independent of operating system?

there's no cross-platform solution, on linux can use os.popen('lsusb') (or along lines) , scrape screen (using grep or else). finding out on windows, can try using twain binding python (it's windows webcam protocol, python binding exists here, it's not actively maintained). videocapture might have need.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -