LoginSignup
8
14

More than 5 years have passed since last update.

Raspberry Piで音声認識 (Julius)

Last updated at Posted at 2016-11-19

juliusをinstall

Julius本体 のインストール

$ wget https://github.com/julius-speech/julius/archive/v4.4.2.tar.gz
$ ./configure
$ make
$ make install
$ julius -version

/dev/dspを使えるようにする.(起動時にも)

$ sudo modprobe snd-pcm-oss
$ sudo sh -c "echo snd-pcm-oss >> /etc/modules"

Juliusディクテーション実行キット : サイズが2G超えるようです.

$ wget https://osdn.net/frs/redir.php?m=iij&f=%2Fjulius%2F66544%2Fdictation-kit-v4.4.zip

記述文法音声認識実行キット

$ wget https://github.com/julius-speech/grammar-kit/archive/v4.3.1.zip

juliusを動かす

自由認識のデモ : dictationを使った自由文章.遅い.

$ cd dictation-kit-v4.4
$ julius -C main.jconf -C am-gmm.jconf -demo

snd-pcm-ossを入れて/dev/dspが見えているのに,エラーになる場合は,マイクのデバイスが /dev/dsp1 などになっている.AUDIODEVで設定.

$ export AUDIODEV=/dev/dsp1
$ julius -C main.jconf -C am-gmm.jconf -demo

文法音声認識キットのサンプル : リンゴやミカンの個数に限った認識.

$ cd grammer-kit-v4.4
$ julius -C testmic.jconf -charconv SJIS UTF-8

juliusの辞書作成

8
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
14