Flutter: Voice to Text
6,640
There's a speech recognition library available which may fit for your needs: https://pub.dartlang.org/packages/speech_recognition
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on December 05, 2022Comments
-
Admin over 1 year
I want to say:
"What is my Account Balance"
Simple examples that convert the above voice into array like;
words = { [What] [is] [my] [Account] [Balance] };
So, I can check the words and route to respective page.
switch (voiceToRoute) { case “Account”: Navigator.push( context, new MaterialPageRoute( builder: (context) => new AccountPage())); }, break; case “Balance”: Navigator.push( context, new MaterialPageRoute( builder: (context) => new BalancePage())); }, break; }
Can anyone provide a solution in Dart/Flutter about Voice to text?
-
Admin about 6 yearsthanks. I try that one even I change "_currentLocale = 'en_US';" to tr_TR and dint work.