IMX519 16MP Autofocus resolution cropping

  1. Where did you get the camera module(s)?
    Pimoroni

  2. Model number of the product(s)?
    IMX519 16MP Autofocus

  3. What hardware/platform were you working on?
    Raspberry P 4

  4. Instructions you have followed. (link/manual/etc.)
    Raspberry Pi libcamera Guide - Arducam

  5. Problems you were having?
    What resolutions retain the original view angle / FoV?
    Some resolutions appear to crop the center of the image (eg: 640x480). I would like a lower resolution, higher FPS version of the whole image. Is this possible?

  6. The dmesg log from your hardware?
    dmesg | grep arducam > there is no output
    v4l2-ctl --list-formats-ext > 45 entries, along the lines of

[45]: 'Y14 ' (14-bit Greyscale)
		Size: Stepwise 16x16 - 16376x16376 with step 1/1

libcamera-still --list-cameras


[0:22:05.754269989] [2157]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3431-c4602118

[0:22:05.791487286] [2158]  WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 'imx519'
[0:22:05.791564563] [2158]  WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:22:05.791675821] [2158] ERROR CameraSensor camera_sensor.cpp:551 'imx519 10-001a': Camera sensor does not support test pattern modes.
[0:22:05.811205560] [2158]  WARN RPI raspberrypi.cpp:1233 Mismatch between Unicam and CamHelper for embedded data usage!
[0:22:05.812071938] [2158] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:22:05.812435563] [2158]  INFO RPI raspberrypi.cpp:1356 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media0 and ISP device /dev/media1
Available cameras
-----------------
0 : imx519 [4656x3496] (/base/soc/i2c0mux/[email protected]/[email protected])
    Modes: 'SRGGB10_CSI2P' : 1280x720 1920x1080 2328x1748 3840x2160 4656x3496 


  1. Troubleshooting attempts you’ve made?

Tried testing various resolutions. Some are cropped, some are not.

  1. What help do you need?

I would like to know what resolutions are not cropped, or how I can stop it from cropping. I am using:
libcamera-still -o libcam640x480.jpg --width 640 --height 480
libcamera-still -o libcam4656x3496.jpg --width 4656 --height 3496
etc, etc

Chech this:

2328x1748 is 2x2 binned at maximum resolution, it doesn’t have any viewing angle penalty.

1 Like

Thank you @wong, that’s very helpful

Are there any future plans to provide scaled images? So when specifying width and heights of say 640x480 it sends the full res scaled?

1 Like

I would very much like that, if it’s possible.

@wong is this possible or planed for?

Hi,
This is Bin from Arducam. Our engineer Wong is on vacation. Recently we don’t have planed fir this configuration.