Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

maybe your camera does not support your desired resolution ?

if all you want, is to watch your movie fullscreen, there's an easy way (without changing the resolution):

// CV_WINDOW_NORMAL is important here, since CV_WINDOW_AUTOSIZE won't let you resize(to full)
namedWindow("Cam Feed",CV_WINDOW_NORMAL);  

// now make it fullscreen:
setWindowProperty("Cam Feed", CV_WND_PROP_FULLSCREEN, 1.0);