vendredi 9 janvier 2015

HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP


Vote count:

-2




I get presented this error every time I run a program that basically launches a webcam stream with my specified resize dimension of 320 by 240. This is the code I am using to set that size.



cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_WIDTH,320);
cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT, 240);


However, it automatically resizes to the default 640 by 480.


Any help?


The automatic resize makes the webcam way too laggy.



asked 2 mins ago







HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP

Aucun commentaire:

Enregistrer un commentaire