{"id":21191693,"url":"https://github.com/edgeimpulse/example-standalone-inferencing-espressif-esp32","last_synced_at":"2025-07-10T03:30:52.975Z","repository":{"id":44337086,"uuid":"474935068","full_name":"edgeimpulse/example-standalone-inferencing-espressif-esp32","owner":"edgeimpulse","description":"Builds and runs an exported impulse locally (ESP IDF) ","archived":false,"fork":false,"pushed_at":"2024-09-09T15:40:47.000Z","size":27247,"stargazers_count":13,"open_issues_count":0,"forks_count":7,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-09-09T19:23:49.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgeimpulse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-28T09:35:37.000Z","updated_at":"2024-09-09T15:40:50.000Z","dependencies_parsed_at":"2024-08-13T16:53:00.105Z","dependency_job_id":null,"html_url":"https://github.com/edgeimpulse/example-standalone-inferencing-espressif-esp32","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-espressif-esp32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-espressif-esp32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-espressif-esp32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-espressif-esp32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgeimpulse","download_url":"https://codeload.github.com/edgeimpulse/example-standalone-inferencing-espressif-esp32/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225615185,"owners_count":17496944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T19:04:30.960Z","updated_at":"2024-11-20T19:04:31.515Z","avatar_url":"https://github.com/edgeimpulse.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Impulse Example: standalone inferencing (Espressif ESP32)\n\nThis repository runs an exported impulse on the Espressif ESP32. See the documentation at [Running your impulse locally](https://docs.edgeimpulse.com/docs/running-your-impulse-locally-1).\n\n## Requirements\n\n### Hardware\n\n* [ESP-EYE](https://www.espressif.com/en/products/devkits/esp-eye/overview).\n\nWhile the script is mainly tested with ESP-EYE, other ESP32-based development boards will work too.\n\n### Software\n\n* [Edge Impulse CLI](https://docs.edgeimpulse.com/docs/cli-installation).\n\n* [ESP IDF 5.1.1](https://docs.espressif.com/projects/esp-idf/en/v5.1.1/esp32/get-started/index.html).\n\n\n## Building the application\n\n### Get the Edge Impulse SDK\n\nUnzip the deployed `C++ library` from your Edge Impulse project and copy only the folders to the root directory of this repository:\n\n   ```\n   example-standalone-inferencing-espressif-esp32/\n   ├─ edge-impulse-sdk\n   ├─ model-parameters\n   ├─ main\n   ├─ tflite-model\n   ├─ .gitignore\n   ├─ CMakeLists.txt\n   ├─ LICENSE\n   ├─ README.md\n   ├─ sdkconfig\n   ├─ sdkconfig.old\n   └─ partitions.csv\n   ```\n\n### Compile\n\n1. Initialize ESP IDF:\n   ```bash\n   get_idf\n   ```\n2. Compile:\n   ```bash\n   idf.py build\n   ```\n\n### Flash\n\nConnect the ESP32 board to your computer.\n\nRun:\n   ```bash\n   idf.py -p /dev/ttyUSB0 flash monitor\n   ```\n\nWhere ```/dev/ttyUSB0``` needs to be changed to actual port where ESP32 is connected on your system.\n\n### Serial connection\n\nUse 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.\n\n### Troubleshooting and optimization\n\nWhen switching boards or upgrading to newer version of SDK, the `sdkconfig` file in the project folder gets overwritten. Run `idf.py menuconfig` to enter configuration menu and make sure that all the relevant performance settings (e.g. Flash SPI speed (80 MHz), CPU Frequency (240 MHz), CONFIG_COMPILER_OPTIMIZATION_PERF=y) are set.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-espressif-esp32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-espressif-esp32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-espressif-esp32/lists"}