I have a webcam ( microsoft camlife 5000 ) , it's an HD camera but everytime i access the camera through opencv 2.4.10 i get the resolution to be 640*480 also i used the function
camera.set(CV_CAP_PROP_FRAME_HEIGHT,720); camera.set(CV_CAP_PROP_FRAME_WIDTH,1280);
but still the width and the height of the frames are 640 , 480. so what shall i do now to solve this problem ?