Question/Issue:
I’m trying to use the ESP32 camera from my Edge Impulse model - using the Arduino libraries - with a XIAO ESP32S3 Sense, but now I’m getting the following error when initializing:
Edge Impulse Inferencing Demo
E (1022) cam_hal: cam_dma_config(300): frame buffer malloc failed
E (1023) cam_hal: cam_config(384): cam_dma_config failed
E (1023) camera: Camera config failed with error 0xffffffff
Camera init failed with error 0xffffffff
Failed to initialize Camera!
It works well when using the camera webserver example.
I finally solve this.
Going through the Arduino IDE option tools for the XIAO_ESP32S3, I found out that the option PSRAM: “OPI PSRAM” was disabled.
As soon that I enabled that option and uploaded the sketch, no more error and inference was going great.