简体   繁体   中英

Take photo in python with 4:3 format instead of 16:9

I am going to use from raspberry pi camera with (camera.capture) command and take photo in 4:3 format instead of 16:9. I will be appreciate that give me tips.

You can change the image settings and camera effect like so:

camera.resolution = (2592, 1944)
camera.framerate = 15`

So if you set the resolution with

camera.resolution = (1280,960)

You'll have a 4:3 picture.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM