Adjusting the Field of View for IMX219-160 Camera

Hi Experts, Is there away to adjust the FoV of IMX219-160 camera to a different value than the default? Also which FoV should I consider when setting the FoV of DonkeyCar simulator camera, configured through the “cam_config”{“fov”: <FoV_Value>} settings. Is it the horizontal, vertical, or diagonal FoV? I’m asking because I need to align the camera FoV between DonkeyCar simulator and the physical Jetson nano camera.

hello ali.younis1,

you may specify a crop region (left, right, top, bottom) to change the FOV.
here’s a sample pipeline for your reference.
$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=2592, height=1944, framerate=30/1, format=NV12' ! nvvidconv left=300 right=2200 top=100 bottom=1800 ! xvimagesink

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