To capture images in my applications, I use the VideoCapture class of the EmguCV library, an OpenCV wrapper for .NET.
To choose a specific camera, you need to supply an index value. But getting this number is not straightforward, and as this number can change over time, it might break your application in the future.
So, what if we could use the actual name of the camera instead of the index value?
In this article I will show how to achieve this.