编译unimrcp-vosk-plugin
试了试Debian 11编译unimrcp-vosk-plugin,步骤如下:
apt install -y sudo git wget make build-essential ?automake autoconf 'libtool-bin|libtool' pkg-config ...? # sudo is vip
cd /usr/src
wget https://www.unimrcp.org/project/component-view/unimrcp-deps-1-6-0-tar-gz/download -O unimrcp-deps-1.6.0.tar.gz
tar xvzf unimrcp-deps-1.6.0.tar.gz
cd unimrcp-deps-1.6.0./build-dep-libs.sh # yes, yes
cd /usr/src
git clone https://github.com/unispeech/unimrcp.git
cd unimrcp
./bootstrap
./configure
make
make install
cd /usr/src
git clone https://github.com/alphacep/unimrcp-vosk-plugin.git
cd?unimrcp-vosk-plugin
./bootstrap
./configure
make?
make install
echo '/usr/local/lib' >> /etc/ld.so.conf
ldconfig
/usr/local/unimrcp/bin/unimrcpserver
Model path is hardcoded to /opt/haldi/model, download Chinese model and put here.
https://alphacephei.com/vosk/models
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!