TensorFlow Lite - Micro Speech
AmebaD [AMB21 / AMB22 / AMB23] x 1
Adafruit PDM MEMS microphone
LED x 4
Download the Ameba customized version of TensorFlow Lite for Microcontrollers library at https://github.com/ambiot/tree/master/Arduino_zip_libraries.
Follow the instructions at https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries to install it.
Ensure that the patch files found at https://github.com/ambiot/tree/master/Ameba_misc/ are also installed.
Open the example,
"Files" → "Examples" → “TensorFlowLite_Ameba” →
If you are having trouble in getting the words recognized, here are some tips:
Ensure that your surroundings are quiet with minimal noise.
Experiment with varying the distance of the microphone, starting with it at an arm’s length.
Experiment with different tones and volume when saying the words.
Depending on how you pronounce the words, the characteristics of the microphone used, getting one keyword recognized may be easier than the other.
More information on TensorFlow Lite for Microcontrollers can be found at: https://www.tensorflow.org/lite/microcontrollers