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
  • Project
  • Project
  • Project
  • Project