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
Post a Comment