Menu

pocketsphinx hot word detection performance?

Help
Feng
2017-04-28
2017-04-29
  • Feng

    Feng - 2017-04-28

    Ok I have finished porting over the pocketsphinx to our arm based embedded platform.
    My dictionary contains only one word (e.g. the hot word), and tried with few short wav files and get correct result. I then tried a long music file. I see it almost occupy a whole 1.5G arm core. I wonder if this is expected? Is there a way get better performance? since this is contant detection I can't afford to have this much of cpu usage.

     
    • Nickolay V. Shmyrev

      You need to read our tutorial first to understand you need to modify the language model and keep the dictionary as is.

      You also need to provide more details on what language model are you using exactly and also provide a pocketsphinx output to get help on decoding speed.

       
  • Feng

    Feng - 2017-04-30

    No I use kws option so no lm is needed, I only need to detect one keyword in my case.
    I am thinking that I might need to 'adapt' the acoustic model, just for this specific keyword. This way the acoustic model will be smaller and that should improve the workload I believe (since you only need to detect only very few phones).
    From this link looks like we are trying to do the same thing: https://sourceforge.net/p/cmusphinx/discussion/speech-recognition/thread/1cb5594e/
    However in the post you only mentioned that "Yes, you can remove senones and triphones which you will never see with a custom tool" I would like to know what is the custom tool? The acoustic model comes from the pocketsphinx download (en-us), and I also downloaded a full text version (https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English/), I want to get rid of most of the phones inside.

     
    • Nickolay V. Shmyrev

      No I use kws option so no lm is needed, I only need to detect one keyword in my case.

      You still need to provide the logcat output.

      I would like to know what is the custom tool?

      The tool you will write yourself.

       

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.