Description
This repository holds two Android sample apps for offline speech-to-text using OpenAI's Whisper model converted to TensorFlow Lite. The whisper_java app uses the TensorFlow Lite Java API, which suits Java developers, and the whisper_native app uses the TensorFlow Lite native API for better performance. A Python script converts Whisper models to TensorFlow Lite format, and the repository includes pre-generated models. Pre-built APKs are included for direct installation on an Android device. The README also explains how to use the Whisper class for transcription and the Recorder class for audio capture in your own app. It is aimed at developers who want to add speech recognition to an Android project without a network connection.…
Highlights
- Offline speech recognition on Android
- Java and native TensorFlow Lite versions
- Python script to convert Whisper models
- Pre-built APKs for direct install
- Whisper and Recorder classes with integration examples
Ratings & Reviews
No ratings yet
Be the first to rate Whisper Android.
People also visit
Whisper Android FAQ
What does this project do?
It provides Android sample apps that transcribe speech on the device using a Whisper model converted to TensorFlow Lite.
Does it need an internet connection?
The project is described as offline speech recognition, so transcription runs on the device once the model is in the app.
How do I run the sample?
Open the whisper_java folder in Android Studio, build it, and run it on a device or emulator. You can also install the pre-built APK.
Can I make my own model?
Yes. The models_and_scripts folder contains a Python script that converts Whisper models into TensorFlow Lite format.
What are the best Whisper Android alternatives?
Popular alternatives to Whisper Android include Whisper.cpp, WhisperIME and Argmax Oss Swift. See all Whisper Android alternatives