Ask Your Question

woist's profile - activity

2016-05-13 00:14:38 -0600 asked a question Is it possible to change the resolution in linux opencv?

I see that there's an example here that demonstrates using cap.set(...) to change the height and width resolution. https://github.com/Itseez/opencv/blob....

However, that doesn't seem to work (and stackoverflow has plenty of examples of people having this problem). Searching the github shows that it's not supported in the main repo. L166 in https://github.com/Itseez/opencv/blob... shows only three supported cases for CV_CAP_PROP values and neither width nor height are one of them.

The only way that I see that the above sample could have tested correctly was if the author was using windows for which the correct function seems to be in the namespace (https://github.com/Itseez/opencv/blob...).

Is this legitimate? Is there actually no way to change the resolution?