espressif/esp-tflite-micro
TensorFlow Lite Micro for Espressif Chipsets
What it solves
This project provides an official way to run machine learning models on Espressif hardware (such as the ESP32 series) using TensorFlow Lite Micro. It bridges the gap between standard machine learning frameworks and resource-constrained microcontrollers, allowing developers to deploy AI applications directly on embedded devices.
How it works
It acts as a component for the ESP-IDF (Espressif IoT Development Framework). It includes the necessary libraries to run TensorFlow Lite Micro models and integrates with ESP-NN, a library of optimized math kernels specifically designed for Espressif chips. By using these optimized kernels, the project significantly accelerates model execution compared to standard reference implementations.
Who it’s for
This is for embedded engineers and developers working with Espressif chipsets who want to implement on-device machine learning, such as voice recognition, person detection, or basic sensor analysis, while maintaining high performance on limited hardware.
Highlights
- Includes pre-built examples like person detection, micro speech, and hello world.
- Features deep integration with ESP-NN for massive performance gains (e.g., reducing inference time from seconds to milliseconds).
- Fully compatible with the standard ESP-IDF development workflow.
- Provides a simple command-line interface for adding the component and flashing examples to hardware.
Related
- Project
espressif/esp-dlESP‑DL is Espressif’s open‑source, ultra‑lightweight neural‑network inference engine for ESP32‑S3/P4 microcontrollers. It uses a custom FlatBuffers model format, supports mixed‑precision quantization, dual‑core scheduling, and a set of core AI operators, enabling on‑device vision and audio models (e.g., MobileNetV2, YOLO, OCR) to run with minimal RAM and power.
- Project
tensorflow/tflite-microTensorFlow Lite for Microcontrollers is a lightweight runtime that runs deep learning models on microcontrollers and DSPs with limited memory (tens to hundreds of kilobytes). It solves the problem of deploying AI on bare-metal, low-power devices by executing models converted via LiteRT or TensorFlow.
- Project
espressif/esp-skainetESP‑Skainet is Espressif’s on‑device voice‑assistant SDK for ESP32 chips. It bundles a tiny wake‑word engine (WakeNet), an offline command recognizer (MultiNet) supporting up to 200 languages, and a full audio front‑end (AEC, VAD, NS). The stack runs on ESP32‑S3 (or other ESP32 boards) with minimal RAM/flash, enabling privacy‑preserving voice control for smart‑home, wearables, or robotics. The repo includes ready‑to‑flash examples, detailed docs, and support for custom wake words and commands.
- Project
espressif/esp-whoAn image processing development platform for Espressif chips that provides examples for face and pedestrian detection and QR code recognition.
- Project
jomjol/AI-on-the-edge-deviceA DIY ESP32‑CAM project that runs TensorFlow Lite on‑device to read analog utility meters (water, gas, electricity). It captures images, extracts the dial, runs a tiny neural net, and publishes the reading via MQTT, InfluxDB, REST API or Home Assistant. Includes a web UI, OTA updates, and 3‑D‑printable housings.