InputSpeech inherits from Input.
More...
#include <InputSpeech.h>
InputSpeech inherits from Input.
Arduino
TinyTrainable
Input
for input microphone
for machine learning
from TinyML micro_speech
◆ InputSpeech()
| InputSpeech::InputSpeech |
( |
| ) |
|
constructor
file
learning model
◆ identify()
| void InputSpeech::identify |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Input.
◆ setupInstrument()
| void InputSpeech::setupInstrument |
( |
bool |
serialDebugging | ) |
|
|
overridevirtual |
Reimplemented from Input.
◆ setupSpeechModel()
| void InputSpeech::setupSpeechModel |
( |
String |
sounds[3], |
|
|
const unsigned char * |
model = nullptr |
|
) |
| |
|
overridevirtual |
Reimplemented from Input.
◆ _sounds
| String InputSpeech::_sounds[3] |
|
private |
◆ error_reporter
| tflite::ErrorReporter* InputSpeech::error_reporter = nullptr |
|
private |
◆ feature_buffer
◆ feature_provider
◆ interpreter
| tflite::MicroInterpreter* InputSpeech::interpreter = nullptr |
|
private |
◆ kTensorArenaSize
| constexpr int InputSpeech::kTensorArenaSize = 10 * 1024 |
|
staticconstexprprivate |
◆ model
| const tflite::Model* InputSpeech::model = nullptr |
|
private |
◆ model_input
| TfLiteTensor* InputSpeech::model_input = nullptr |
|
private |
◆ model_input_buffer
| int8_t* InputSpeech::model_input_buffer = nullptr |
|
private |
◆ NUM_SOUNDS
| const int InputSpeech::NUM_SOUNDS = 3 |
|
private |
◆ previous_time
| int32_t InputSpeech::previous_time = 0 |
|
private |
◆ recognizer
◆ tensor_arena
The documentation for this class was generated from the following files: