Is there a platform independent way to list video input devices
问题 Before opening doing a capture by creating a VideoCapture object I want to display a list of available devices to select from. I believe this can be done in Windows using DirectShow and in Linux by checking the /dev/video* entries. But I am wondering if there is any platform independent way I can get this list? NOTE. I know I can enumerate the devices using VideoCapture.open and checking isOpen but I want to be able to display a meaningful name also and I don't think VideoCapture gives me