Get iplImage or Mat from directshow to opencv
I had to change to directshow for my eyetracking software due to the difficulties to change resolution of the camera when using c++ and opencv. Directshow is new to me and it is kind of hard to understand everything. But I found this nice example that works perfectly for capturing & viewing the web cam. http://www.codeproject.com/Articles/12869/Real-time-video-image-processing-frame-grabber-usi I am using the version that not requires directShow SDK. (But it is still directshow that is used in the example, right??) #include <windows.h> #include <dshow.h> #pragma comment(lib,"Strmiids.lib")