How do I get the computer screen resolution on OpenCV? I need to show two images side by side using the whole screen width, OpenCV requires the exact window size I wanna create.
In new version it also works like below, which is great :-D
printf("%f",cap.get(CV_CAP_PROP_FRAME_HEIGHT));
for setting video res.
.set(property_in_caps, value_in_double); ex, cap.set(CV_CAP_PROP_FRAME_HEIGHT, 720);