snowboy를 이용한 hot word detection

의존 패키지 설치

$ sudo apt-get install swig
$ sudo apt-get install python-pyaudio python3-pyaudio sox
$ sudo apt-get install libatlas-base-dev
$ sudo apt-get install portaudio19-dev 
$ sudo apt-get install python-dev
$ pip install pyaudio 

Clone snowboy source

$ git clone https://github.com/kitt-ai/snowboy

Build snowboy

# Python 3.x 라이브러리 빌드
$ cd snowboy
$ cd swig
$ cd Python3
$ make

Test

#python 3.x
$ cd examples/Python3
$ python3 demo.py resources/snowboy.umdl

참고

Leave a Reply