The Arduino hello world example
For the Arduino SDK (Software Development Kit) you can install the TensorFlow_ESP32 library, which does not only contain the TensorFlowLite-Micro (tflm) library but also the examples
- hello_world
- wake word detection
- person detection
- ... and even some older version of magic wand, which is not available elsewhere
Unfortunately the Arduino library TensorFlowLite_ESP32 uses an outdated version of the tensorflow lite micro code. I therefore created my own Arduino Library (TFLM_ESP32) with the latest version of tflm and I modified the example code correspondingly.
The Arduino code uses a pre-built model (see
hello_world tflite-micro version for the creation and training of the model) in form of a C++ source file and its associated include file (model.cpp and model.h) to get hold of this model.
--
Uli Raich - 2023-12-18
Comments