Can you capture images with resolution > QVGA?

Sorry in advance. I do not have one of these boards.... Yet, But I do have the GIGA with the Display Shield and some of the different cameras like the QC2145 and so far on the GIGA I have not found any reliable way to capture images whose resolution is higher than QVGA.
I have also noticed that all of the examples appear to be developed using QVGA.

I have asked about this up on the GIGA forum:
Camera/Arducam_dvp: possible resolution > QVGA? - Hardware / GIGA R1 - Arduino Forum

WIthout anyone responding and was curious if anyone using these boards are reading in VGA or higher resolutions.

As I mentioned on the GIGA forum, I have a fork/breanch of the Arducam_dvp library which filled in several of the methods of the Camera class using the camera code for the Nicla.

I ported over the CameraCaptureZoomPan sketch, over to this, and it works. But it only actually reads in QVGA size image.

I have for the GIGA tried simple sketch to read in larger images and simply truncate them down to a max size of 480x480 to show on the display. And run into issues going up to VGA size (or higher).

I believe the primary issue is memory. In particular, once I go beyond QVGA, there does not appear to be enough memory to hold a full image within normal STM32 memory, so I then try to allocate the framebuffer into the SDRAM. And this does not appear to work very well.

If for example at SVGA mode (320x240) if I use normal memory for the frame buffer it work. If instead I allocate it in SDRAM. Some of the frames show up fine and others get scrambled.
If I try VGA, the screen mostly become completely garbled.
I have tried things like putting in calls to: SCB_CleanInvalidateDCache();
Which so far has not helped much.

So wondering if anyone else has found other approaches that work.

Thanks
Kurt

1 Like

@KurtE
A similar topic was asked on the openMV forum. Basically you cant get there for true 640x480

VGA has a maximum FoV. But, you can’t really store a VGA sized image in RAM with RGB565. Our driver will try to switch to BAYER for that resolution but the Galaxy Core camera doesn’t like to output BAYER images except at particular resolutions.

REF: Nicla vision & sensor.JPEG - Arduino Boards - OpenMV Forums

1 Like