Page 1 of 1

Pi Camera Orientation Within Python

Posted: Sat Jan 02, 2016 7:05 pm
by JonnyAlpha
Hi;

I am happy with taking pictures using my Pi Camera and using -vf and -hf flags to correct the orientation but how do I use the flags when using the camera from within python??

Thanks

Re: Pi Camera Orientation Within Python

Posted: Sat Jan 02, 2016 7:25 pm
by DougieLawson
If you're using the python picamera module set picamera.rotation() to 0, 90,180 or 270, picamera.vflip() true or false & picamera.hflip() true or false.

https://picamera.readthedocs.org/en/release-1.10/