#include <recognize_commands.h>
|
| | RecognizeCommands (int32_t average_window_duration_ms=1000, uint8_t detection_threshold=200, int32_t suppression_ms=1500, int32_t minimum_count=3) |
| |
| TfLiteStatus | ProcessLatestResults (const TfLiteTensor *latest_results, const int32_t current_time_ms, const char **found_command, uint8_t *score, bool *is_new_command) |
| |
◆ RecognizeCommands()
| RecognizeCommands::RecognizeCommands |
( |
int32_t |
average_window_duration_ms = 1000, |
|
|
uint8_t |
detection_threshold = 200, |
|
|
int32_t |
suppression_ms = 1500, |
|
|
int32_t |
minimum_count = 3 |
|
) |
| |
|
explicit |
◆ ProcessLatestResults()
| TfLiteStatus RecognizeCommands::ProcessLatestResults |
( |
const TfLiteTensor * |
latest_results, |
|
|
const int32_t |
current_time_ms, |
|
|
const char ** |
found_command, |
|
|
uint8_t * |
score, |
|
|
bool * |
is_new_command |
|
) |
| |
◆ average_window_duration_ms_
| int32_t RecognizeCommands::average_window_duration_ms_ |
|
private |
◆ detection_threshold_
| uint8_t RecognizeCommands::detection_threshold_ |
|
private |
◆ minimum_count_
| int32_t RecognizeCommands::minimum_count_ |
|
private |
◆ previous_results_
◆ previous_top_label_
| const char* RecognizeCommands::previous_top_label_ |
|
private |
◆ previous_top_label_time_
| int32_t RecognizeCommands::previous_top_label_time_ |
|
private |
◆ suppression_ms_
| int32_t RecognizeCommands::suppression_ms_ |
|
private |
The documentation for this class was generated from the following files: