Skip to content

nkoub/Arduino_TensorFlowLite_ESP32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlowLite_ESP32

https://www.tensorflow.org/lite/microcontrollers/overview

https://github.com/espressif/tflite-micro-esp-examples

Overview

This library runs TensorFlow machine learning models on microcontrollers, allowing you to build AI/ML applications powered by deep learning and neural networks.

With the included examples, you can recognize speech, detect people using a camera, and recognise "magic wand" gestures using an accelerometer.

The examples work best with the M5StickC(ESP32) board, which has a microphone and accelerometer.

Examples

hello_world

Outputs sine waves to serial outputs and build-in LEDs.

In tanakamasayuki's original version there are more examples, however, I could not not checked if they work as I only have an ESP32 WROOM DevKit V1.

How to make this library

cd scripts
bash ./sync_from_tflite_micro.sh

You can also make this library using the last version of TensorFlowLite (as synced from https://github.com/espressif/tflite-micro-esp-examples)

cd scripts
bash ./sync_from_tflite_micro_version_schema_3.sh

This latter script will create the folder TensorFlowLite_ESP32_tmp

.
└── TensorFlowLite_ESP32_tmp
    ├── examples
    │   └── hello_world
    ├── LICENSE
    └── src
        ├── bus
        ├── screen
        ├── tensorflow
        ├── TensorFlowLite_ESP32.h
        ├── third_party
        └── utility.h

special thanks

About

Allows you to run machine learning models locally on your ESP32 device.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 85.2%
  • C 14.3%
  • Other 0.5%