Troubleshooting

ESP32-S3 AI CAM DFR1154 Simple Vocal Order

userHead Filou 2025-11-14 07:17:57 22 Views0 Replies

Hi, 

I try to implement a voice order recognition with a light “edge-impulse” model for my ESP32-S3 AI CAM DFR1154.

do you know a tutorial for this purpose ?

 

On edge impulse site, there is a project for Espressif ESP-EYE (ESP 32 240 Mhz) Card.
But  don't work with my DFR1154 ESP32-S3 AI CAM.

 

it's freeze on 
 

#define EI_CLASSIFIER_RAW_SAMPLE_COUNT 16000


if (microphone_inference_start(EI_CLASSIFIER_RAW_SAMPLE_COUNT) == false) {

ei_printf("ERR: Could not allocate audio buffer (size %d), this could be due to the window length of your model\r\n", EI_CLASSIFIER_RAW_SAMPLE_COUNT);

return;

}

static bool microphone_inference_start(uint32_t n_samples)

{

inference.buffer = (int16_t *)malloc(n_samples * sizeof(int16_t));

 

if(inference.buffer == NULL) {

return false;

}

….

….

 

I search an answer  ..

Regards,
Phil