Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Decreasing capture resolution of webcam

How to reduce capturing resolution of webcam?? I have used iball C8.0(FACE2FACE) webcam. Without using function cvSetCaptureProperty it captures frame with 640x480 resolution, with this function it shows same resolution i.e. 640X480. I want change into 320X240 or 480x320 resolution. If i used following function to reduce resolution,

  1. cvSetCaptureProperty(capture,CV_CAP_PROP_FRAME_WIDTH, 320);
  2. cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT, 240);

it captures in 640x480 resolution and gives error

HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP