Closed CobraCalle closed 4 years ago
I believe you will want to set the ROI against the camera itself and you should be using MMALCameraConfig.ROI
which accepts a Zoom struct. Valid range is between 0 - 1.0.
yes, I treid that... but if I apply the values from the wiki (0.5, 0.5, 0.1, 0.1) the resulting frames are still 1600x1200 (in my case)... as I understand those values the result should be 10% of the height and width from the center... or is it allways a zoom and it is not possible to crop an area to reduce the frame size (and speed up the fps)?
It isn't a physical "crop" as you would usually expect, but instead it will focus on an area of the image keeping the original resolution. That's how the native MMAL library works so I don't have any control over that unfortunately.
OK... checked.. thanks a lot 👍
Hello,
I would like to crop the image from the camera to a specific rect, but this does not have any effect...
Here is my code: MMALCamera cam = MMALCamera.Instance;