[英]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.我将使用带有 (camera.capture) 命令的树莓派相机并以 4:3 格式而不是 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.您将获得一张 4:3 的图片。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.