k2-fsa / sherpa-ncnn

Real-time speech recognition using next-gen Kaldi with ncnn without Internet connection. Support iOS, Android, Raspberry Pi, VisionFive2, LicheePi4A etc.
https://k2-fsa.github.io/sherpa/ncnn/index.html
Apache License 2.0
891 stars 138 forks source link

c++调用编译,在板子上部署 #317

Closed superhgq1 closed 3 months ago

superhgq1 commented 4 months ago

我想通过c++部署,然后得到识别文本后再进行处理,目前在linux下可以编译,但是怎么在交叉环境编译,然后部署到板子上,有示例么

csukuangfj commented 4 months ago

https://k2-fsa.github.io/sherpa/ncnn/install/aarch64-embedded-linux.html

这个 是 64-bit arm 的交叉编译的文档.


下面是 32-bit arm 的交叉编译文档 https://k2-fsa.github.io/sherpa/ncnn/install/arm-embedded-linux.html