Hi,
I was wondering what the size parameter set to the stream really does to full resolution image ?
In my below code I initialize the main strean with a size of 1920 x 1080, but my sensor has a full resolution of 4056 x 3040.
How does libcamera manage this ? Does it crop the full resolution image to get a partial part of the sensor (if it crop, is it from the center of the sensor), or does it resize the full resolution image to 1920 x 1080 (keeping a correct ratio) and make some extrapolation ?
Thanks for your help
I was wondering what the size parameter set to the stream really does to full resolution image ?
In my below code I initialize the main strean with a size of 1920 x 1080, but my sensor has a full resolution of 4056 x 3040.
Code:
camera.create_still_configuration(main={"size": (1920, 1080), "format": "RGB888"})
Thanks for your help
Statistics: Posted by watchever — Tue Mar 26, 2024 10:52 am