{"id":5452767,"url":"https://github.com/k2-fsa/sherpa-ncnn","last_synced_at":"2025-05-13T21:04:38.149Z","repository":{"id":61640355,"uuid":"532519562","full_name":"k2-fsa/sherpa-ncnn","owner":"k2-fsa","description":"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.","archived":false,"fork":false,"pushed_at":"2025-05-09T13:08:17.000Z","size":2162,"stargazers_count":1317,"open_issues_count":51,"forks_count":178,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-05-09T13:58:57.488Z","etag":null,"topics":["asr","c","cpp","csharp","go","kotlin","python","speech-recognition","vad","voice-activity-detection"],"latest_commit_sha":null,"homepage":"https://k2-fsa.github.io/sherpa/ncnn/index.html","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k2-fsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-04T11:26:54.000Z","updated_at":"2025-05-09T13:08:21.000Z","dependencies_parsed_at":"2022-10-20T00:15:14.849Z","dependency_job_id":"bae0c449-47fc-494a-af70-54a6a733d8a6","html_url":"https://github.com/k2-fsa/sherpa-ncnn","commit_stats":{"total_commits":120,"total_committers":7,"mean_commits":"17.142857142857142","dds":"0.15833333333333333","last_synced_commit":"d9f684a69919f78dd7290c27adfc5a4ec2a6b674"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k2-fsa%2Fsherpa-ncnn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k2-fsa%2Fsherpa-ncnn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k2-fsa%2Fsherpa-ncnn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k2-fsa%2Fsherpa-ncnn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k2-fsa","download_url":"https://codeload.github.com/k2-fsa/sherpa-ncnn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254028450,"owners_count":22002259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asr","c","cpp","csharp","go","kotlin","python","speech-recognition","vad","voice-activity-detection"],"created_at":"2024-03-01T16:02:46.290Z","updated_at":"2025-05-13T21:04:33.133Z","avatar_url":"https://github.com/k2-fsa.png","language":"C++","funding_links":[],"categories":["🎙️ Speech Recognition \u0026 ASR","语音识别","C++"],"sub_categories":["🎤 Sherpa-NCNN - Next-Gen Speech Recognition","网络服务_其他"],"readme":"### Supported functions\n\n|Real-time Speech recognition| Voice activity detection |\n|----------------------------|--------------------------|\n|   ✔️                        |         ✔️                |\n\n### Supported platforms\n\n|Architecture| Android          | iOS           | Windows    | macOS | linux |\n|------------|------------------|---------------|------------|-------|-------|\n|   x64      |  ✔️               |               |   ✔️        | ✔️     |  ✔️    |\n|   x86      |  ✔️               |               |   ✔️        |       |       |\n|   arm64    |  ✔️               | ✔️             |   ✔️        | ✔️     |  ✔️    |\n|   arm32    |  ✔️               |               |            |       |  ✔️    |\n|   riscv64  |                  |               |            |       |  ✔️    |\n\n### Supported programming languages\n\n| 1. C++ | 2. C  | 3. Python | 4. JavaScript |\n|--------|-------|-----------|---------------|\n|   ✔️    | ✔️     | ✔️         |    ✔️          |\n\n|5. Go   | 6. C# | 7. Kotlin | 8. Swift |\n|--------|-------|-----------|----------|\n| ✔️      |  ✔️    | ✔️         |  ✔️       |\n\n\nIt also supports WebAssembly.\n\n## Introduction\n\nThis repository supports running the following functions **locally**\n\n  - Streaming speech-to-text (i.e., real-time speech recognition)\n  - VAD (e.g., [silero-vad](https://github.com/snakers4/silero-vad))\n\non the following platforms and operating systems:\n\n  - x86, ``x86_64``, 32-bit ARM, 64-bit ARM (arm64, aarch64), RISC-V (riscv64)\n  - Linux, macOS, Windows, openKylin\n  - Android, WearOS\n  - iOS\n  - NodeJS\n  - WebAssembly\n  - [Raspberry Pi](https://www.raspberrypi.com/)\n  - [RV1126](https://www.rock-chips.com/uploads/pdf/2022.8.26/191/RV1126%20Brief%20Datasheet.pdf)\n  - [LicheePi4A](https://sipeed.com/licheepi4a)\n  - [VisionFive 2](https://www.starfivetech.com/en/site/boards)\n  - [旭日X3派](https://developer.horizon.ai/api/v1/fileData/documents_pi/index.html)\n  - etc\n\nwith the following APIs\n\n  - C++, C, Python, Go, ``C#``\n  - Kotlin\n  - JavaScript\n  - Swift\n\nWe support all platforms that [ncnn](https://github.com/tencent/ncnn) supports.\n\nEverything can be compiled from source with static link. The generated\nexecutable depends only on system libraries.\n\n**HINT**: It does not depend on PyTorch or any other inference frameworks\nother than [ncnn](https://github.com/tencent/ncnn).\n\nPlease see the documentation \u003chttps://k2-fsa.github.io/sherpa/ncnn/index.html\u003e\nfor installation and usages, e.g.,\n\n  - How to build an Android app\n  - How to download and use pre-trained models\n\nWe provide a few YouTube videos for demonstration about real-time speech recognition\nwith `sherpa-ncnn` using a microphone:\n\n  - `English`: \u003chttps://www.bilibili.com/video/BV1TP411p7dh/\u003e\n  - `Chinese`: \u003chttps://www.bilibili.com/video/BV1214y177vu\u003e\n\n  - Multilingual (Chinese + English) with endpointing Python demo : \u003chttps://www.bilibili.com/video/BV1eK411y788/\u003e\n\n  - **Android demos**\n\n  - Multilingual (Chinese + English) Android demo 1: \u003chttps://www.bilibili.com/video/BV1Ge411A7XS\u003e\n  - Multilingual (Chinese + English) Android demo 2: \u003chttps://www.bilibili.com/video/BV1eK411y788/\u003e\n  - `Chinese (with background noise)` Android demo : \u003chttps://www.bilibili.com/video/BV1GR4y167fx\u003e\n  - `Chinese` Android demo : \u003chttps://www.bilibili.com/video/BV1744y1Z76H\u003e\n  - `Chinese poem with background music` Android demo : \u003chttps://www.bilibili.com/video/BV1vR4y1k7eo\u003e\n\n### Links for pre-built Android APKs\n\n| Description                    | URL                                                       |\n|--------------------------------|-----------------------------------------------------------|\n| Streaming speech recognition   | [Address](https://github.com/k2-fsa/sherpa-ncnn/releases) |\n\n### Links for pre-trained models\n\nhttps://github.com/k2-fsa/sherpa-ncnn/releases/tag/models\n\n### Useful links\n\n- Documentation: https://k2-fsa.github.io/sherpa/ncnn/\n- Bilibili 演示视频: https://search.bilibili.com/all?keyword=%E6%96%B0%E4%B8%80%E4%BB%A3Kaldi\n\n### How to reach us\n\nPlease see\nhttps://k2-fsa.github.io/sherpa/social-groups.html\nfor 新一代 Kaldi **微信交流群** and **QQ 交流群**.\n\n\n## See also\n\n  - \u003chttps://github.com/k2-fsa/sherpa-onnx\u003e\n  - \u003chttps://github.com/k2-fsa/sherpa\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk2-fsa%2Fsherpa-ncnn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk2-fsa%2Fsherpa-ncnn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk2-fsa%2Fsherpa-ncnn/lists"}