You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only `MaixCAM2` supports `SenseVoice`, and all SenseVoice-related code is implemented in `Python`, so only Python-side examples are provided.
74
+
By default, the system does not include the `SenseVoice` model. Please download it from [here](https://huggingface.co/sipeed/sensevoice-maixcam2) and place it in the `/root/models/` directory.
75
+
76
+
Before using it, you need to start the `sensevoice.service `service. The command is as follows:
77
+
> Note that sensevoice.service starts from the `/root/models/sensevoice-maixcam2` directory by default, so make sure the model is placed under `/root/models/.`
78
+
```shell
79
+
systemctl start sensevoice.service
80
+
```
81
+
82
+
You can also start it manually:
83
+
84
+
```shell
85
+
cd /root/models/sensevoice-maixcam2
86
+
python server.py
87
+
```
88
+
89
+
After the service is started, you can perform speech recognition via HTTP interaction.
90
+
For usage, please refer to the example:[asr_sensevoice.py](https://github.com/sipeed/MaixPy/tree/main/examples/audio/asr/sensevoice/asr_sensevoice.py)
91
+
71
92
## Maix-Speech
72
93
73
94
[`Maix-Speech`](https://github.com/sipeed/Maix-Speech) is an offline speech recognition library specifically designed for embedded environments. It has been deeply optimized for speech recognition algorithms, significantly reducing memory usage while maintaining excellent recognition accuracy. For detailed information, please refer to the [Maix-Speech Documentation](https://github.com/sipeed/Maix-Speech/blob/master/usage_zh.md).
0 commit comments