I followed the instruction above to successfully make the Quad-Camera Kit of four 16MP IMX519 cameras work with lowe speed driver on Raspberry Pi 4 model B in “macro” focus mode.
commands used:
libcamera-still -t 0 --autofocus-mode auto
libcamera-still -t 0 --autofocus-range macro
The image was written normally only with the warning “ERROR IPARPI cam_helper.cpp:249 Embedded data buffer parsing failed”.
However, the captured image resolution ( 2328x1748-YUV420) was half of the max resolution of the 16MP IMX519 camera (4656 × 3496) .
Questions1:
Is there any command to get the max resolution of 16MP IMX519 with Arducam CamArray HAT Kit in Switch Composition Mode using “libcamera-still” command?
Is there any other command to allow continuous switch channels and capture images at max resolution for each camera? My goal was to capture 4 images from each camera in max resolution,
Now I am using a loop to switch channels and " i2cset -y 10 0x24 0x24 0x02
libcamera-still -t 2000 -n -o test.jpg" to implement the function.
If there are better ways to achieve this goal, it will be highly appreciated.
The resolution is actually composed of four cameras. If you use dual-channel or single-channel, the corresponding resolution becomes 1/2 and 1/4 of the original
So with the Arducam CamArray HAT Kit, we can only achieve 1/4 of the 4656 (H) × 3496 (V), which is
1164×874 in single-channel using Switch Composition Mode?
Is the active resolution of 16MP IMX519, in fact, a 4M pixel camera?
I guess the limitation was still in the bandwidth of the Pi port.
Another follow-up question, does the driver can only use “imx519_kernel_driver_low_speed” instead of “imx519_kernel_driver” when using Arducam CamArray HAT Kit?
The title of the switch channel, please don’t worry about the topic I share, both cameras use the same register on the switch channel.
I also want to clarify that a single channel will only allow you to save the full-resolution image of one camera. If you save four images, you need to switch to the corresponding channel for saving. Maybe the description on the product page is not very clear, I will let them revise the description.
I already tried with the commands like " i2cset -y 10 0x24 0x24 0x02
libcamera-still -t 2000 -n -o test.jpg" as mentioned in my former post,
the resolution of the images saved was not 16M. I will try again to follow your suggestions.
Follow-up questions:
1: What is the command to save the image at a specific resolution using “libcamera”?
Should we return the second set and get a new set? Or it is normal to have CamHelper for embedded data usage" error? We just want to make sure it will run stable and robust for our system.
This problem will not affect your use, the new version of libcamera will not parse the relevant data, there is a way to turn off the error
set environment variables:
export LIBCAMERA_NOTPARSE_EMBEDDED_DATA=1
Use –width --height to set the image resolution. Use –viewfinder-width --viewfinder-height to set preview resolution