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

Camera board • Re: Field of view wide-angle camera for raspberry pi zero

$
0
0
@sandyol: Could you please expand on your comment? I would assume that recording at 1920x1080, instead of 4x3, would crop the image vertically no? Shouldn't I expect the same horizontal FoV regardless of the video format?
When used with the latest camera software stack the OV5647 modules support 4 native modes (0-3) .
As below.

Code:

    Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]                             1296x972 [46.34 fps - (0, 0)/2592x1944 crop]                             1920x1080 [32.81 fps - (348, 434)/1928x1080 crop]                             2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
If you request a 'simple' 1920x1080 stream the software will default to providing the best match, which is not the full width cropped in height, but the native mode 2, which is also cropped in width.

In round numbers, (ignoring any -ve distortion) the 120° diagonal FOV would equate to ~96° x72° full frame, (less with typical levels of distortion) .
However the native 1920x1080 mode crops 1928? (or 1920?) out of the full 2592 pixel frame width, giving 1920 / 2592 * 96 ~~=71° HFOV.

By using the full frame mode 1 it is possible to 'manually' specify a 16:9 image size, with a vertical-only crop, and rescale to 1920x1080, but that isn't the simple default.
HTH

Statistics: Posted by sandyol — Thu Nov 28, 2024 4:34 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles