编译unimrcp-vosk-plugin

2023-12-18 21:56:56

试了试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

文章来源:https://blog.csdn.net/qq_56167818/article/details/135060738
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。