Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.63 KB

File metadata and controls

65 lines (44 loc) · 1.63 KB

Edge Impulse Example: standalone inferencing (Espressif ESP32)

This repository runs an exported impulse on the Espressif ESP32. See the documentation at Running your impulse locally.

Requirements

Hardware

While the script is mainly tested with ESP-EYE, other ESP32-based development boards will work too.

Software

Building the application

Get the Edge Impulse SDK

Unzip the deployed C++ library from your Edge Impulse project and copy only the folders to the root directory of this repository:

example-standalone-inferencing-espressif-esp32/
├─ edge-impulse-sdk
├─ model-parameters
├─ main
├─ tflite-model
├─ .gitignore
├─ CMakeLists.txt
├─ LICENSE
├─ README.md
├─ sdkconfig
├─ sdkconfig.old
└─ partitions.csv   

Compile

  1. Initialize ESP IDF:
    get_idf
  2. Compile:
    idf.py build

Flash

Connect the ESP32 board to your computer.

Run:

idf.py -p /dev/ttyUSB0 flash monitor

Where /dev/ttyUSB0 needs to be changed to actual port where ESP32 is connected on your system.

Serial connection

Use screen, minicom or Serial monitor in Arduino IDE to set up a serial connection over USB. The following UART settings are used: 115200 baud, 8N1.