Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Video Capture Resolution Issue on Windows

Hi,

I've been trying to just do a simple Video capture feed with open cv but i have a problem with the resolution of the feed. The video feed defaults into 640 x 480 resolution but I know the camera can achieve a higher resolution. I tested on the windows camera app and i was able to get 1920 x 1080 resolution. I have already tried setting the height and width of the video capture through the use of

cap.set(CV_CAP_PROP_FRAME_WIDTH,1920);

cap.set(CV_CAP_PROP_FRAME_HEIGHT,1080);

This results in the video capture having that resolution but the the side are filled with black pixels and the image does not look like the appropriate resolution.

I am programming this in a windows environment on Visual Studio 2017. The camera I'm using is the Logitech HD Webcam C615. I'm using Open CV 3.4.2

Cheers

Video Capture Resolution Issue on Windows

Hi,

I've been trying to just do a simple Video capture feed with open cv but i have a problem with the resolution of the feed. The video feed defaults into 640 x 480 resolution but I know the camera can achieve a higher resolution. I tested on the windows camera app and i was able to get 1920 x 1080 resolution. I have already tried setting the height and width of the video capture through the use of

cap.set(CV_CAP_PROP_FRAME_WIDTH,1920);

cap.set(CV_CAP_PROP_FRAME_HEIGHT,1080);

This results in the video capture having that resolution but the the side sides are filled with black pixels and the image does not look like the appropriate resolution.

I am programming this in a windows environment on Visual Studio 2017. The camera I'm using is the Logitech HD Webcam C615. I'm using Open CV 3.4.2

Cheers