Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Running completely offline #106

Open
monomy001 opened this issue Jul 28, 2024 · 1 comment
Open

feat: Running completely offline #106

monomy001 opened this issue Jul 28, 2024 · 1 comment

Comments

@monomy001
Copy link

monomy001 commented Jul 28, 2024

Is your feature request related to a problem? Please describe:
Is it possible to run speech recognition completely offline?

Describe the solution you'd like:
I have an app usecase where it will be used in remote areas where not even an internet mobile data works. need to still speak out to the app, have the speech recognition working to capture what has been said, and store the transcribed text after getting internet connection again. At the moment it seems like speech recognition can only work when theres active internet connection. when i turn off internet, it just make a beep sound that indicate refusal to accept speech.

Describe alternatives you've considered:
Similar approach would be using AI whisper technology, where the model is stored offline.. and the audio spoken via mic is captured (perhaps using webRTC), and the recorded audio is crossmatched with AI model to get transcription

@monomy001 monomy001 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2024
@monomy001 monomy001 reopened this Jul 28, 2024
@monomy001 monomy001 changed the title feat: Running continuous recognition in the background feat: Running completely offline Jul 28, 2024
@monomy001
Copy link
Author

monomy001 commented Aug 2, 2024

In regards with https://stackoverflow.com/questions/31562229/offline-speech-recognition-in-android, any idea how to set "RecognizerIntent.EXTRA_PREFER_OFFLINE" option somewhere?
@priyankpat @mrbatista

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant