Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Supported functions

Real-time Speech recognitionSpeech synthesisVoice activity detection
✔️✔️✔️

Supported platforms

ArchitectureAndroidiOSWindowsmacOSlinux
x64✔️✔️✔️✔️
x86✔️✔️
arm64✔️✔️✔️✔️✔️
arm32✔️✔️
riscv64✔️

Supported programming languages

1. C++2. C3. Python4. JavaScript
✔️✔️✔️✔️
5. Go6. C#7. Kotlin8. Swift
✔️✔️✔️✔️

It also supports WebAssembly.

Introduction

This repository supports running the following functions locally

  • Streaming speech-to-text (i.e., real-time speech recognition)
  • Text to speech (e.g., vits models from piper)
  • VAD (e.g., silero-vad)

on the following platforms and operating systems:

with the following APIs

  • C++, C, Python, Go, C#
  • Kotlin
  • JavaScript
  • Swift

We support all platforms that ncnn supports.

Everything can be compiled from source with static link. The generated executable depends only on system libraries.

HINT: It does not depend on PyTorch or any other inference frameworks other than ncnn.

Please see the documentation https://k2-fsa.github.io/sherpa/ncnn/index.html for installation and usages, e.g.,

  • How to build an Android app
  • How to download and use pre-trained models

We provide a few YouTube videos for demonstration about real-time speech recognition with sherpa-ncnn using a microphone:

Links for pre-built Android APKs

DescriptionURL
Streaming speech recognitionAddress

Links for pre-trained models

https://github.com/k2-fsa/sherpa-ncnn/releases/tag/models

Useful links

How to reach us

Please see https://k2-fsa.github.io/sherpa/social-groups.html for 新一代 Kaldi 微信交流群 and QQ 交流群.

See also

关于 About

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.
asrccppcsharpgokotlinpythonspeech-recognitionvadvoice-activity-detection

语言 Languages

C++55.7%
Python14.3%
CMake7.4%
Shell6.0%
Swift3.8%
Kotlin3.4%
JavaScript3.2%
C#1.9%
Go1.7%
C1.7%
HTML0.7%
CSS0.2%
Objective-C0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
29
Total Commits
峰值: 13次/周
Less
More

核心贡献者 Contributors