tflite_audio 0.1.6 tflite_audio: ^0.1.6 copied to clipboard
Tflite plugin for flutter. Can make audio classifications on both android and iOS using your own custom tflite model.
0.1.6 #
- bufferSize no longer needs to be divisible to recording length. You can now use any number for bufferSize that you deem fit.
0.1.5+3 #
- Fixed major android crash, where forcibly stopping the stream causes recorder.stop() to be prematurely called.
- Fixed minor iOS crash, where forcibly stopping the stream during recognition returns a nil exception.
- Cleaned up example for easy switch between decodedWav and Google's Teachable Machine model
0.1.5+2 #
- Disabled Google's Teachable Machine by default to reduce app footprint. (This can be enabled manually)
- Adjusted example's values to improve inference accuracy
0.1.5+1 #
- Added documentation
- Added example model from Google's Teachable Machine.
- Fixed iOS crash when loading text file with empty elements.
0.1.5 #
- Added support for Google Teachable Machine models.
- Fixed inaccurate reading with recording
- Added feature to switch between decodedwav and Google's Teachable machine model.
0.1.4 #
- Added a new feature where you can run multiple inferences per recording.
- Replaced future with stream when getting results from inferences
- Added a button to cancel the stream / inference
- Removed unnecessary code for easier reading.
0.1.3+1 #
- Used reusable widgets for easier to read code.
- Added some documentation
0.1.3 #
- Hotfix for crash when permission has been denied.
- Added the key 'hasPermission' for the future startAudioRecognitions().
- Added feature in example where it'll show inference times
0.1.2 #
- Instead of returning a single string value, the future startAudioRecognition() now returns a map with the following keys:
- recognitionResult
- inferenceTime
- Fixed issue in example where pressing the record button multiple times will crash the app.
- Added feature in example where pressing the recording button changes color.
0.1.1 #
- Made some fixes with making options explicit
- Added alert dialog when permission is denied.
0.1.0 #
- Added iOS support
0.0.4 #
- Added the following arguments into the future: startAudioRecognition()
- sampleRate
- recordingLength
- bufferSize
0.0.3 #
- Merged permission and audio recognition futures into one future.
0.0.2 #
- Fixed image url
0.0.1 #
- Initial release.