diff options
author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-03-21 18:20:02 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-06-06 18:59:26 +0200 |
commit | 311e5bc1a8fa06a858e3d930ea57bff796732c8d (patch) | |
tree | 515c5ac19a9fd3184e62fdb62018183155564f28 /utils/raspberrypi/ctt/ctt_macbeth_locator.py | |
parent | c6124d757cac2661108a806edc9b0a9b72b1abd3 (diff) |
libcamera: rkisp1: Crop on ISP before downscaling
Crop on the resizer sink pad before downscaling to the aspect ratio
of the desired output size.
Cropping the input frame to the output aspect ratio allows to maintain
the correct picture proportions, as otherwise downscaling would change
the image geometry.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_macbeth_locator.py')
0 files changed, 0 insertions, 0 deletions