When I used OpenCV to do some image processing like generating depth, I wanted to set the camera resolution to 512*512.
But the function 'cvSetCaptureProperty' didn't work for 512*512. Once I set it to 512*512, the captured frame's size will be 288*352. It's very strange. But if I set it to 640*480, it worked well.
Did anybody meet the same problem?