k2-fsa/sherpa-ncnn
Real-time speech recognition and voice activity detection (VAD) using next-gen Kaldi with ncnn without Internet connection. Support iOS, Android, Linux, macOS, Windows, Raspberry Pi, VisionFive2, LicheePi4A etc. observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 47
- Release rhythm 48
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 7
- age_days: 1459
- days_rel: 351
- days_push: 318
- n_releases_24m: 6
Adoption not part of the score
1779 stars · 218 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A C++ library for real-time offline speech recognition, text-to-speech, and voice activity detection built on the ncnn inference framework with next-gen Kaldi models. It runs entirely on-device without Internet access and provides APIs for C++, C, Python, Go, C#, Kotlin, Swift, and JavaScript across mobile, desktop, and embedded platforms.
Use cases
- run offline speech-to-text on android or ios without internet
- real-time microphone transcription on raspberry pi
- add voice activity detection to an embedded device
- on-device text to speech with vits models
- build a wasm browser-based speech recognizer
- streaming asr on risc-v boards like visionfive2
When to choose
- you need fully offline, low-latency speech recognition on mobile or embedded hardware
- you cannot depend on PyTorch or cloud services and want lightweight ncnn inference
- you need bindings across many languages and platforms including ARM and RISC-V
When to avoid
- you need GPU-accelerated server-scale ASR with the latest large models
- you want PyTorch-based tooling or training pipelines (use icefall/sherpa-onnx instead)
- you need extensive prebuilt model variety beyond the provided ncnn-exported models
Facets
library · maturity active
speech-recognition tts audio-processing sdk speech-processing embedded-systems cross-platform windows cpp python wasm embedded cross-platform offline-asr ncnn voice-activity-detection streaming-recognition raspberry-pi risc-v on-device-inference kaldi natural-language-processing android ios linux macos
2 sources
- readme: https://github.com/k2-fsa/sherpa-ncnn · fetched 2026-08-28 · 4308318447fb
- homepage: https://k2-fsa.github.io/sherpa/ncnn/index.html · fetched 2026-08-29 · a54267d151e2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| k2-fsa/sherpa-ncnn | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="k2-fsa/sherpa-ncnn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem