From cf853bb07bb11e44bbb8ee89b4684e96fd926ee7 Mon Sep 17 00:00:00 2001 From: Del Wang Date: Sat, 10 May 2025 13:22:17 +0800 Subject: [PATCH] =?UTF-8?q?docs(kws):=20=E6=9B=B4=E6=96=B0=E9=80=82?= =?UTF-8?q?=E9=85=8D=E6=9C=BA=E5=9E=8B=E7=9A=84=E7=9B=B8=E5=85=B3=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/kws/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/kws/README.md b/examples/kws/README.md index da39ff0..4e7f77b 100644 --- a/examples/kws/README.md +++ b/examples/kws/README.md @@ -1,14 +1,11 @@ # Open-XiaoAI x Sherpa-ONNX -> [!IMPORTANT] -> 本教程仅适用于 **小爱音箱 Pro(LX06)** 和 **Xiaomi 智能音箱 Pro(OH2P)** - 小爱音箱自定义唤醒词,基于 [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx)。 ## 快速开始 > [!NOTE] -> 以下操作需要先将小爱音箱刷机, 然后 SSH 连接到小爱音箱。👉 [教程](https://github.com/idootop/open-xiaoai/blob/main/docs/flash.md) +> 以下操作需要先将小爱音箱刷机, 然后 SSH 连接到小爱音箱。👉 [教程](../../docs/flash.md) ```shell # 创建 open-xiaoai/kws 文件夹 @@ -138,4 +135,10 @@ curl -sSfL https://gitee.com/idootop/artifacts/releases/download/open-xiaoai-kws 该脚本默认不支持自定义唤醒词触发后执行的动作。 -如果你想要自定义唤醒词的触发动作,可以参考 [open-xiaoai](https://github.com/idootop/open-xiaoai) 里的其他演示程序,根据 server 端接收到的小爱音箱上的唤醒词事件,实时触发任意自定义操作(比如:打电话,订外卖等)。 \ No newline at end of file +如果你想要自定义唤醒词的触发动作,可以参考 [open-xiaoai](https://github.com/idootop/open-xiaoai) 里的其他演示程序,根据 server 端接收到的小爱音箱上的唤醒词事件,实时触发任意自定义操作(比如:打电话,订外卖等)。 + +### Q:我不是小爱音箱 Pro 能不能用? + +由于小爱音箱 client 端算力和存储空间有限,默认只使用了一个较小的[语音识别模型](https://k2-fsa.github.io/sherpa/onnx/kws/pretrained_models/index.html#sherpa-onnx-kws-pre-trained-models)(5MB 左右),需要占用大约 20 MB 的存储空间。其他型号的小爱音箱存储空间和算力可能不足以运行该模型,请自行测试。 + +你也可以参考 [open-xiaoai](https://github.com/idootop/open-xiaoai) 里的演示程序,在 server 端运行更大规模、更先进的 AI 模型,来进行唤醒词识别,达到相同目的。推荐使用 [FunASR](https://github.com/modelscope/FunASR) 和 [Sherpa-ONNX](https://github.com/k2-fsa/sherpa-onnx),可以参考 [xiaozhi-esp32-server](https://github.com/xinnan-tech/xiaozhi-esp32-server) 项目。 \ No newline at end of file