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,
- cvSetCaptureProperty(capture,CV_CAP_PROP_FRAME_WIDTH, 320);
- cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT, 240);
it captures in 640x480 resolution and gives error
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
Are you sure that your camera supports these other resolutions? Many cheaper camera's only support single resolutions.