* create TFLite library * add TFLite hello_world example * add TFLite micro_speech example --------- Co-authored-by: Sanket Wadekar <67091512+sanketwadekar@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| audio_provider.cpp | ||
| audio_provider.h | ||
| command_responder.cpp | ||
| command_responder.h | ||
| feature_provider.cpp | ||
| feature_provider.h | ||
| micro_features_generator.cpp | ||
| micro_features_generator.h | ||
| micro_model_settings.cpp | ||
| micro_model_settings.h | ||
| micro_speech.ino | ||
| model.cpp | ||
| model.h | ||
| README.md | ||
| recognize_commands.cpp | ||
| recognize_commands.h | ||
| ringbuf.c | ||
| ringbuf.h | ||
Micro Speech Example
This example shows how to run a 20 kB model that can recognize 2 keywords, "yes" and "no", from speech data.
The application listens to its surroundings with a microphone and indicates when it has detected a word by displaying data on a screen.
Deploy to ESP32
The sample has been tested on ESP-IDF version release/v4.2 and release/v4.4 with the following devices:
Sample output
- When a keyword is detected you will see following output sample output on the log screen:
Heard yes (<score>) at <time>