OpenCV : how to get raw YUY2 image from webcam?
问题 Do you know how to get raw YUY2 image from webcam, using OpenCV-DirectShow (no VFW) ? http://opencv.willowgarage.com/wiki/CameraCapture : I succeed getting IPL image (Intel Processing Library image) using the example. Using the function cvShowImage() in the code, the image is nice on the screen. But I don't want to show image on the screen, nor IPL format, I just want YUYV raw data... The second part of the wiki page would be what I want, but deviceSetupWithSubtype() does not seem to exist