Question/Issue:
I’m trying to deploy my project using Arduino IDE, into ESP32-EYE.
I created and imported the zip, opened the example, using “static_buffer”.
While compiling, I’m getting the following error:
/Users/xxx/Documents/Arduino/libraries/Apylo-v0_inferencing/examples/static_buffer/static_buffer.ino: In function 'void loop()':
static_buffer:92:34: error: 'struct ei_impulse_result_t' has no member named 'classification'
ei_printf("%.5f", result.classification[ix].value);
^~~~~~~~~~~~~~
static_buffer:108:44: error: 'struct ei_impulse_result_t' has no member named 'classification'
ei_printf(" %s: %.5f\n", result.classification[ix].label, result.classification[ix].value);
^~~~~~~~~~~~~~
static_buffer:108:77: error: 'struct ei_impulse_result_t' has no member named 'classification'
ei_printf(" %s: %.5f\n", result.classification[ix].label, result.classification[ix].value);
^~~~~~~~~~~~~~
exit status 1
'struct ei_impulse_result_t' has no member named 'classification'
I’m stuck and will appreciate any help - Thank you!
Project ID:
127972
Context/Use case:
This is a detection model of two classes. The current model is very small, just for testing.
Thanks @aurel for both the workaround and for submitting feature request for the future.
I’m aware that in my case, for object detection it is better to use idf and i already tried that, but go some failures while building it. That’s why I tried to check the Arduino IDE version first.
Based on your recommendation, I will go back and try the idf again and open an issue if needed.
I appreciate your help.
You guys at EI are AWESOME!!
I need to add my own code and do some changes to the project that was exported as a c++ project (to be flashed using idf).
Which file/files actually run the inference/loop that I should update?