flutter_tflite_audio icon indicating copy to clipboard operation
flutter_tflite_audio copied to clipboard

Continuous Audio Recognize

Open SanaSizmic opened this issue 2 years ago • 3 comments

Hi, How to continuously recognize audio and stop recognize audio when clicks on the mic icon button.

SanaSizmic avatar Sep 08 '22 13:09 SanaSizmic

Set numOfInference to a very high number. For example, numOfInferences = 99999

For more info on the parameters, please look here

Caldarie avatar Sep 08 '22 13:09 Caldarie

for anyone concerned, the max is around 999999999, one more nine and we got an exception (long can't be casted to int)

EParisot avatar Jan 18 '23 23:01 EParisot

@EParisot thanks for the report! when given time, I will modify the plug-in to support continuous runs without the need to set to a higher number

Caldarie avatar Jan 20 '23 02:01 Caldarie