Tags:
create new tag
view all tags

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
tflite_examples_arduino.png

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


Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng tflite_examples_arduino.png r1 manage 178.7 K 2023-12-18 - 16:12 UliRaich  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2023-12-18 - UliRaich
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback