Menu

PocketSphinx CPU Usage Optimization

Help
Joon
2017-03-31
2017-03-31
  • Joon

    Joon - 2017-03-31

    Hello

    I'm a student using PocketSphinx on Android for continuous recognition. So I set it as background service to continuously listen for keyword search, but apparently it consumes a lot of CPU + battery. I thought this was a lightweight offline tool that does not consume CPU and battery much but turns out it uses quite a bit ( I expect other tools use more). Is there a way to improve this? If I use activity in android it gets killed instantly and I don't want that so I am using either background/foreground serive. Any insight shares?

    Thank you in advance :)

     
    • Nickolay V. Shmyrev

      Profile you application, figure out where the most battery drain / cpu usage happens and optimize that part.

       

Log in to post a comment.