본문 바로가기
라즈베리파이

How to install PocketSphinx on a Raspberry Pi

by YJHTPII 2022. 5. 19.
반응형

https://howchoo.com/pi/how-to-install-pocketsphinx-on-a-raspberry-pi

 

How to install PocketSphinx on a Raspberry Pi

This guide will show you how to install PocketSphinx on your Raspberry Pi. PocketSphinx is a super lightweight speech and voice recognition engine.

howchoo.com

 

 

 

This guide will show you how to install PocketSphinx on your Raspberry Pi. PocketSphinx is a super lightweight speech and voice recognition engine.

 Table of Contents
 
 

You can find the downloads on GitHub

wget https://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha/sphinxbase-5prealpha.tar.gz/download -O sphinxbase.tar.gz
wget https://sourceforge.net/projects/cmusphinx/files/pocketsphinx/5prealpha/pocketsphinx-5prealpha.tar.gz/download -O pocketsphinx.tar.gz
tar -xzvf sphinxbase.tar.gz
tar -xzvf pocketsphinx.tar.gz
sudo apt-get install bison libasound2-dev swig
cd sphinxbase-5prealpha
./configure --enable-fixed
make
sudo make install
cd ../pocketsphinx-5prealpha
./configure
make
sudo make install
src/programs/pocketsphinx_continuous -samprate 48000

src/programs/pocketsphinx_continuous -samprate 48000 -inmic yes -nfft 2048

 

error발생!!

> sudo apt-get install pulseaudio

>dpkg -l | grep "~~~"

 

반응형

댓글