Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First, 1080 pixel wide image isn't standard, maybe that causes problems. Try 1280 or 1920 (and set both width and height).

Do you have libv4l-dev installed? Without this library I had problems changing camera resolution in OpenCV.

If this doesn't help, you can try the Raspicam library (http://www.uco.es/investiga/grupos/ava/node/40), it provides an OpenCV interface using the native mmal library. I tested it and it supports setting resolutions