Menu

Building application with pocketsphinx problem ( Linux Eclipse compiler, Beaglebone Black)

Help
2017-01-14
2017-01-18
  • Gabriel Lee

    Gabriel Lee - 2017-01-14

    Hi,

    I am currently trying to build a speech recognition device on a Beaglebone Black using pocketsphinx. I am trying to compile the example codes that are in the pocketsphinx tutorial website. However i am receiving errors in prim_type.h stating that sphinx_config.h cannot be found or there is no such file. From what i can see, sphinx_config.h is already available in the library. I have attached a picture showing the problem as below.

    As far as i know , i have followed the steps in the tutorial and i have linked the pocketsphinx and sphinxbase library in the eclipse compiler. pocketsphinx-continuous also works without any problems. Any suggestions is most appreciated. Thank you.

     
  • Gabriel Lee

    Gabriel Lee - 2017-01-17

    Hi,

    Thanks Nickolay. I have managed to compile the codes. I noticed that the code takes a raw audio file that is located in the computer and then recognise the words from that file. How can i change it so that instead of recognising from a file, it will continuously recognise words that are spoken to it. My objective is to have it implemented on the beaglebone black and once it recognises a specific word, a specific action will be carried out.

    Thank you

     
    • Nickolay V. Shmyrev

      How can i change it so that instead of recognising from a file, it will continuously recognise words that are spoken to it.

      You can read continuous.c in pocketsphinx sources to understand how to process data from microphone. It is not different from processing a file, you read the data and feed it into a recognizer.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.