I have a problem trying to get a webcam in OpenCV 2.3 to work with Cygwin. I have a 64-bit Windows 7 system and I use the Notepad ++ and cygwin compilers for C ++ programming. I saw other posts with similar problems:
Getting webcams to work in OpenCV
Unable to access webcam using OpenCV
At first I tried to install OpenCV via Cygwin ports. This is pretty easy to install, but alas, I ran into a webcam problem (it always returns false when trying to find a device). I also tried building OpenCV and installing it manually using the CMake command line combination. I tried adding the flags HAVE_VIDEOINPUT and HAVE_DSHOW, but not the dice. All my programs compile beautifully, and I have all the OpenCV features aside for this webcam thing.
Has anyone successfully created OpenCV 2.3 on Cygwin with a webcam?
source
share