TODO! I wrote this before i was made aware of whisper.cpp. Need to integrate that, into this, or build a new one on that.
Integration of the OpenAI speech to text model into Android.
rustup target add aarch64-linux-android
# for arm64rustup target add x86_64-linux-android
# for x86_64whisper.tflite
TFLite Model + filters_vocab_gen.bin
Mel Filters and Vocab
libswscale.so libswresample.so libavutil.so libavformat.so libavfilter.so libavdevice.so libavcodec.so
FFMPEG for android
/WhisperVoiceKeyboard/app/src/main/rust
and verify the
environment variables set in .vscode/settings.json/rust-analyzer.server.extraEnv
and .vscode/cargoNdkEnv.sh
./.vscode/buildAll.sh
to build the rust artifacts.