Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

Opencv+v4l2 set resolution

$
0
0
Hello, I am using Opencv 2.4.9 on my Raspberry PI2 and I am trying to change the resolution width and height using v4l2 through command line. *command = 'v4l2-ctl -d --set-fmt-video=width= ,height= ';* The raspberry set the proper resolution but when I try to make a video stream using VideoCapture, the resolution returns to the default values. Has already someone encount and solve the same problem? Thank you in advance.

Viewing all articles
Browse latest Browse all 2088

Trending Articles