Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problems with webcam in Windows 7, OpenCV 2.4.6

Hi,

I have used OpenCV for a long time, but now I have problems with the last version 2.4.6. Capture from the webcam is not working at all (neither in my own programs nor the C and C++ samples that come with OpenCV).

I am using Windows 7 and I usually work with the IDE QtCreator. I downloaded OpenCV 2.4.6 and the last version of QtCreator 2.7.2, that uses Qt 5.1.0 and MinGW 4.8. I have tried everything: using the precompiled mingw binaries and libs; compiling OpenCV in mingw with optimizations, without optimizations, with Qt, without Qt, with Debug configuration, with Release configuration, with SSE, without SSE... I have even tried downloading and compiling with Visual C++ 11, with optimizations, without optimization..., using the precompiled VC11 files and compiling the samples... I'm desperate!!! In all cases, I can compile OpenCV 2.4.6 correctly and also the samples, but when I execute the samples, all the programs that use the webcam doesn't work. There are also some problems with programs that use several highgui windows, because the windows doesn't refresh correctly.

The webcam is working correctly in previous versions of OpenCV (in DShow mode), and also in other applications not related to OpenCV.

I don't know what else I can try!!! Please, any indication or suggestion would be appreciated.

Best regards,
-------
Bismarky