Using // ensures we get an integer. We can't use floats."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.
I don't think you can. Not sure why anyone would want to.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?
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