Problem loading code to xiao esp32s3 sense

Question/Issue:
I tained a model to identify toy trafic lights colors. I generated a build for esp32 eye, but I use XIAO ESP32S3 sense with camera. I got the arduino library at the and of the build. Installed the library on my environment (WIN11) I changed the pins #define command to match my MCU, and also the selected MCU define.
When I up load the code the the ESP I immediately got the following error:
C:\Users\class\AppData\Local\Temp\arduino_modified_sketch_154215\esp32_camera.ino: In function ‘void loop()’:
esp32_camera:191:24: error: ‘ei_camera_get_data’ was not declared in this scope; did you mean ‘ei_camera_deinit’?
191 | signal.get_data = &ei_camera_get_data;
| ^~~~~~~~~~~~~~~~~~
| ei_camera_deinit
exit status 1
‘ei_camera_get_data’ was not declared in this scope; did you mean ‘ei_camera_deinit’?
C:\Users\class\AppData\Local\Temp\arduino_modified_sketch_989585\esp32_camera.ino: In function ‘void loop()’:
esp32_camera:191:24: error: ‘ei_camera_get_data’ was not declared in this scope; did you mean ‘ei_camera_deinit’?
191 | signal.get_data = &ei_camera_get_data;
| ^~~~~~~~~~~~~~~~~~
| ei_camera_deinit
exit status 1
‘ei_camera_get_data’ was not declared in this scope; did you mean ‘ei_camera_deinit’?
C:\Users\class\AppData\Local\Temp\arduino_modified_sketch_147129\esp32_camera.ino: In function ‘void loop()’:
esp32_camera:191:24: error: ‘ei_camera_get_data’ was not declared in this scope; did you mean ‘ei_camera_deinit’?
191 | signal.get_data = &ei_camera_get_data;
| ^~~~~~~~~~~~~~~~~~
| ei_camera_deinit
exit status 1
‘ei_camera_get_data’ was not declared in this scope; did you mean ‘ei_camera_deinit’?

I tried to follow through the H files to see the missmatch but was not successful.
Can someone explain what I’m missing in order to be able to upload the code to the ESP successfully

**Project ID:995951

Reproducibility:
Always

Hello @danielmichnk first of all welcome to the Edge Impulse community!

What inference engine did you use during the deployment process?

Did you try with TensorFlow Lite instead of Eon Compiler?

Let us know if that works!

I’ve changes to tensorflow lite. I received the zip installed and uploaded successfully to the MCU.
Before loading I changed the pins #define according to the pin numbers I found in XIAOESP32S3 camera example, and also changed the ifdef accordingly.
When I open the serial monitor on arduino ide, I get error that the camera was not initialized.

ERR: Camera is not initialized

Edge Impulse Inferencing Demo
Camera init failed with error 0xffffffff
ERR: Camera is not initialized

Failed to capture image

how do I verify that the camera is OK?

1 Like

Hello @danielmichnk

Could you please share how did you configure the device?

let me share my step-by-step here that i made some months ago (hope is still valid)!

Keep me posted!