You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you consider using https://pub.dev/packages/speech_to_text ?
Is this something you intend to add ?
If I understand, using this lib does NOT require subscription / .json file.
Thus lowering the entry bar for speech to text.
What would be really convenient is to have an easy way to plug different sort of speech to text.
This would allow us to use other AI models with ease, whether online on hugging face, or offline using tensorflow lite.
The text was updated successfully, but these errors were encountered:
Hi @flutter-painter,
Thanks for the idea, I will take a closer look at this package in the near future and try to implement it instead of the existing speech-to-text conversion tool.
Hi @MarekRudzki,
Based on commit f728720 this is now implemented for all but windows, well done !
I tested but encountered permission error on mic
It seems that speech_to_text does not prompt user for permission :
speech_to_text-6.5.0\lib\speech_to_text.dart line 259
/// Returns true if the user has already granted permission to access the
/// microphone, does not prompt the user.
How about adding something like this to prompt ?
`Future<bool> checkPermission() async {
const Permission permissionMic = Permission.microphone;
final status = await permissionMic.status;
if (status != PermissionStatus.granted) {
final newStatus = await permissionMic.request();
return newStatus == PermissionStatus.granted;
} else {
return true;
}
}`
Hi @MarekRudzki,
Did you consider using https://pub.dev/packages/speech_to_text ?
Is this something you intend to add ?
If I understand, using this lib does NOT require subscription / .json file.
Thus lowering the entry bar for speech to text.
What would be really convenient is to have an easy way to plug different sort of speech to text.
This would allow us to use other AI models with ease, whether online on hugging face, or offline using tensorflow lite.
The text was updated successfully, but these errors were encountered: