1 | initial version |
I figured out something that works for me and am posting in case it is helpful to others using the videoInput library.
First, there is a recent update (July 2013) on gitHub that may be helpful. That library uses DirectShow. Second, you need to modify that code to report the DevicePath which is supposed to be an ID that is unique to each device on the system. I added my own getDevicePath function and used the SDK example to implement it.
While the videoInput library has come in for some criticism, I do not know how you can turn oof autofocus using OpenCV VideoCapture or get a value like this.