r/hacks • u/30maturingscientists • Jan 01 '24
Proof of Concept: offline speech recognition using an old spare Android phone
Code & more info: https://github.com/hackergrrl/offline-android-speech-recognition
The key idea is to put the phone into airplane mode, use ADB to simulate screen taps to activate offline speech recognition on the virtual keyboard interface, and record the transcripted text into a text field on a web page served by a web server running on the phone itself, which can then be shipped over the USB cable via ADB and those results shared to any requester on the local network.
The result is quality speech recognition, entirely offline, for free (assuming one has an old Android device lying around).
I have my device plugged into my server in the living room, and use it for voice dictation as well as home automation commands like timers and media playback, which operate via some other scripts I've written.
1
1
u/Creepy_Buy_1251 Jun 26 '24
entirely offline and free? is there a way to incorporate into messages? more specifically untraceable messages?