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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
https://drive.google.com/file/d/0B-H5rHkmSdjIME00bW9vZndCNjg/view
please click on this link if you are unable to view the image.
https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html
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
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.