Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

YUY2 FORMAT VIDEO CAPTURE USING Open CV

$
0
0
Hi all, I have a trouble with Open CV in Capturing YUY2 Format from a HD 720p Webcam. The Webcam can Support Both MJPG and YUY2 Format. I want to grab only the YUY2 Format from the Webcam. I'm Using Emgu CV v3.0.0.2157 (cross platform .Net wrapper to the OpenCV image processing ). The function I used to grab the frame from the camera is " frame = capture.QueryFrame(); " , where frame is (Mat frame;). Is there any way to grab YUY2 format from the camera, whether " QueryFrame() " can grab YUY2 Format. I have also set the Camera Format to YUY2 before Capturing , mentioned below "capture.SetCaptureProperty(Emgu.CV.CvEnum.CapProp.FourCC, 0x32595559);" , where 0x32595559 is the Fourcc for YUY2, but no use it sill can able to capture MJPG Format.. Pls help me..Thank you

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>