SeriousBusinessOfChildren

From Robert-Depot
Jump to: navigation, search

Phoneme Decoding with Pocketsphinx

http://cmusphinx.sourceforge.net/wiki/phonemerecognition

Examples with backtrace

pocketsphinx_continuous -hmm model/en-us/en-us -allphone model/en-us/en-us-phone.lm.bin -backtrace yes -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes
pocketsphinx_continuous -hmm model/en-us/en-us -allphone model/en-us/en-us-phone.lm.bin -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes

mic input

pocketsphinx_continuous -allphone -inmic yes

Howto

  • render a drawing at 17,20:
./render_gcode.py -width 15.0 -offset 17.0,12.0 /Volumes/Work/Recordings/drawings/postcard/postcard_r.txt > test.nc
  • stream to drawing machine:
./stream.py test.nc /dev/tty.usbserial-A9ILTBNV
  • connect to drawing machine on port:
screen /dev/tty.usbserial-A9ILTBNV 115200