Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Speech_recognition | 327 | 17 | 6 months ago | 4 | November 27, 2018 | 79 | other | Dart | ||
A Flutter plugin to use speech recognition on iOS & Android (Swift/Java) | ||||||||||
Raphael Svg Import | 258 | 6 years ago | mit | JavaScript | ||||||
Import raw SVG data into Raphael | ||||||||||
Speech_to_text | 248 | 2 | 2 | 5 days ago | 43 | June 25, 2022 | 21 | bsd-3-clause | Dart | |
A Flutter plugin that exposes device specific text to speech recognition capability. | ||||||||||
Wikitude Cordova Plugin | 198 | 14 | 2 years ago | 24 | August 25, 2021 | 12 | other | C++ | ||
Wikitude's Augmented Reality Plugin for Cordova - working together with the Wikitude SDK library for Android and iOS. Provides image recognition and tracking, geo-based augmente reality and 3D rendering and animations in an augmented reality scene | ||||||||||
Face Recognition | 167 | 6 years ago | C++ | |||||||
Demonstrate Plugin API for TensorRT2.1 | ||||||||||
Speechrecognizer | 113 | 6 years ago | 15 | Java | ||||||
SpeechRecognizer Cordova plugin for Android | ||||||||||
Sphinx Ue4 | 113 | 6 years ago | 9 | unlicense | C | |||||
A speech recognition plugin for Unreal Engine 4. This is essentially a port of Pocketsphinx, to be used within an Unreal Engine project. | ||||||||||
Nativescript Speech Recognition | 73 | 7 | 3 years ago | 14 | September 24, 2020 | 6 | other | TypeScript | ||
:speech_balloon: Speech to text, using the awesome engines readily available on the device. | ||||||||||
Speechrecognition | 70 | 3 | 4 years ago | 4 | October 23, 2018 | 1 | mit | C# | ||
Easy to use cross platform speech recognition (speech to text) plugin for Xamarin & UWP | ||||||||||
Unityandroidspeechrecognition | 62 | 5 years ago | 4 | gpl-3.0 | Java | |||||
This repository is a Unity plugin for Android Speech Recognition (based on Java implementation) |
A flutter plugin to use the speech recognition iOS10+ / Android 4.1+
dependencies:
speech_recognition: "^0.3.0"
$ flutter packages get
import 'package:speech_recognition/speech_recognition.dart';
//..
_speech = SpeechRecognition();
// The flutter app not only call methods on the host platform,
// it also needs to receive method calls from host.
_speech.setAvailabilityHandler((bool result)
=> setState(() => _speechRecognitionAvailable = result));
// handle device current locale detection
_speech.setCurrentLocaleHandler((String locale) =>
setState(() => _currentLocale = locale));
_speech.setRecognitionStartedHandler(()
=> setState(() => _isListening = true));
// this handler will be called during recognition.
// the iOS API sends intermediate results,
// On my Android device, only the final transcription is received
_speech.setRecognitionResultHandler((String text)
=> setState(() => transcription = text));
_speech.setRecognitionCompleteHandler(()
=> setState(() => _isListening = false));
// 1st launch : speech recognition permission / initialization
_speech
.activate()
.then((res) => setState(() => _speechRecognitionAvailable = res));
//..
speech.listen(locale:_currentLocale).then((result)=> print('result : $result'));
// ...
speech.cancel();
// ||
speech.stop();
infos.plist, add :
<key>NSMicrophoneUsageDescription</key>
<string>This application needs to access your microphone</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>This application needs the speech recognition permission</string>
<uses-permission android:name="android.permission.RECORD_AUDIO" />
On iOS, by default the plugin is configured for French, English, Russian, Spanish, Italian. On Android, without additional installations, it will probably works only with the default device locale.
If you get a MissingPluginException, try to flutter build apk
on Android, or flutter build ios
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.