tf_speech 0.0.1 copy "tf_speech: ^0.0.1" to clipboard
tf_speech: ^0.0.1 copied to clipboard

Keyword spotting speech recognition for dummies.

Flutter TensorFlow Speech #

pub package

The TensorFlow audio recognition tutorial, for use in flutter, with an API that you'll love to use!

var speech = TfSpeech();
await for (var result in speech.stream) {
  print(result);
}

Example app video

Source code.


How does this work?

We use Android's AudioRecord API to record audio in the smallest possible chunks.

These chunks are loaded into a ring buffer.

The ring buffer is periodically fed into the TensorFlow model for inference.

The raw output from the model is passed straight to dart, which allows for a great degree of control from dart code.


5
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Keyword spotting speech recognition for dummies.

Repository (GitHub)
View/report issues

License

LGPL-3.0 (LICENSE)

Dependencies

flutter, plugin_scaffold

More

Packages that depend on tf_speech