Raspberry Pi Camera Module v2 FOV/Resolution Problems

After hooking up a camera module into a raspberry pi, I’ve realized that changing the resolution of the camera changes the fov rather than just scaling down the image. For many reasons, this is not desirable. What would be the best way to change the resolution of the camera without changing the fov? Or would I have to attach a lens to the camera?

This page lists which modes have which FOV: https://picamera.readthedocs.io/en/release-1.10/fov.html

Right. Would I have to create a camera instance with a mode with full FOV, scale it down on the Pi, and then pipe the down scaled image?

The Pi will do hardware scaling from the “closest” resolution. See the heuristics section. So e.g. if you do 160x120 it should do a 4x scale-down from the 640x480 mode with full FoV.

So it appears that the graph you linked is of the v1 module. The v2 module’s 640x480 fov is partial.

https://picamera.readthedocs.io/en/release-1.13/fov.html

Ah. In that case, if you’re using PiCamera directly, it sounds like you may be able to force the mode using the sensor_mode parameter?

Hmm but that’s incompatible with cscore is it not?

Correct. Currently cscore does not interface with the Pi camera directly, it goes through V4L.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.