I am using Edge Impulse and ESP32 CAM to classify image. I am trying code from ESP32-Cam-Edge-Impulse. While executing the code I am getting following error message on serial terminal:
WiFi connected
Starting web server on port: '80'
Starting stream server on port: '81'
Camera Ready! Use 'http://192.168.19.247' to connect
Capture image
Edge Impulse standalone inferencing (Arduino)
ERR: failed to allocate tensor arena
Failed to allocate TFLite arena (error code 1)
run_classifier returned: -6
I could see only the still image in web browser, no interface is seen. Whereas when I use default CameraWebServer.ino example, everything is working fine. What exactly the problem is? I would also like to ask how to capture image automatically on PIR trigger without using the webbrowser.
ERR: failed to allocate tensor arena
Failed to allocate TFLite arena (error code 1)
This error means that you model is too big, can you try using a smaller model (MobileNetV1).
In the advanced version, the web interface is takes some ressources, this is probably why it works with the default example but not with the advanced one.
MobileNetV1 96x96 0.1
Uses around 53.2K RAM and 101K ROM with default settings and optimizations. Works best with 96x96 input size. Supports both RGB and grayscale.
How can I classify image automatically without using the browser interface to capture image?