| | |
| | | <a name="cpp版本示例"></a> |
| | | #### c++版本示例 |
| | | |
| | | 目前已支持离线文件转写服务(CPU),支持上百路并发请求 |
| | | 集成有,VAD,ASR与标点恢复模型,支持上百路并发请求 |
| | | |
| | | ##### 服务端部署 |
| | | 可以用个下面指令,一键部署完成部署 |
| | | ##### 实时语音听写服务部署 |
| | | |
| | | ```shell |
| | | curl -O https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/shell/funasr-runtime-deploy-online-cpu-zh.sh |
| | | sudo bash funasr-runtime-deploy-online-cpu-zh.sh install --workspace ./funasr-runtime-resources |
| | | ``` |
| | | |
| | | ##### 客户端测试与使用 |
| | | 客户端测试([samples](https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/sample/funasr_samples.tar.gz)) |
| | | |
| | | ```shell |
| | | python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass |
| | | ``` |
| | | 更多例子参考([点击此处](runtime/docs/SDK_tutorial_online_zh.md)) |
| | | |
| | | ##### 离线文件转写服务部署 |
| | | ###### 服务端部署 |
| | | ```shell |
| | | curl -O https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/shell/funasr-runtime-deploy-offline-cpu-zh.sh |
| | | sudo bash funasr-runtime-deploy-offline-cpu-zh.sh install --workspace ./funasr-runtime-resources |
| | | ``` |
| | | |
| | | ##### 客户端测试 |
| | | ###### 客户端测试 |
| | | 客户端测试([samples](https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/sample/funasr_samples.tar.gz)) |
| | | ```shell |
| | | python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "../audio/asr_example.wav" |
| | | ``` |
| | | 更多例子参考([点击此处](funasr/runtime/docs/SDK_tutorial_zh.md)) |
| | | 更多例子参考([点击此处](runtime/docs/SDK_tutorial_zh.md)) |
| | | |
| | | |
| | | |
| | | ### 工业模型egs |