Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5320

Camera board • Re: Picamera to Picamera2

$
0
0
"3 * sensor_w // 4" Is an odd way to get 75% but now I understand how to get the width and height into the ScalerCrop.
Using // ensures we get an integer. We can't use floats.
With the previous Picamera, I could change the width and the height of the preview and purposely distort the image.

How do I do that now?
I don't think you can. Not sure why anyone would want to.

Maybe some of the camera dev team folks who hang out here could answer that one.

Statistics: Posted by scruss — Wed Jan 17, 2024 2:46 am



Viewing all articles
Browse latest Browse all 5320

Trending Articles