0
$\begingroup$

Rosanswers logo

I've been working with Indigo on Linux Mint 17.1 but am in the process of upgrading to Mint 18(.1) so I've installed kinetic. I've gotten the motion bits working and am working on the Speech Synthesis and Recognition parts next.

PocketSphinx has been a bit more of a hassle. There was a poacketsphinx ROS package for Indigo but not for Kinetic. So I pulled in the Indigo package and using an example from Gstreamer for Gstreamer 1.0 / Pocket Sphinx I was able to get it working, kind of. It is recognizing words / phrases from my dictionary but it is NO where near as accurate as with the older version on Indigo.

Has anyone done anything with PocketSphinx on Kinetic, and if so how did you improve the accuracy? My reworked recognizer.py file works fine, except for the accuracy. The sample code I based it off of uses a different approach from the original recognizer.py code, so that may be the issue.

Or is there a better speech recognition alternative that you are using with Kinetic and newer versions of ROS?

Thanks,


Originally posted by burtbick on ROS Answers with karma: 201 on 2017-06-10

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I think that I have it figured out, still some more work to do but it is more accurate now. The lm and dict were not getting set so pocketsphinx was using the defaults.

Now using the lm and dict for the RoboCup example accurately recognizes the test phrases. There's some more work to do, but it appears to be working well enough to continue getting things moved over to Kinetic and Linux Mint 18.1


Originally posted by burtbick with karma: 201 on 2017-06-10

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by Developer on 2017-08-08:
could you please share your new package,

I m working on now same package but I can not manage the solve this problem

Thans

Comment by burtbick on 2017-08-08:
I'll have to blow the cobwebs off. I've been off working on other things since I resolved the issue. Basically I had to find how to pass the Im and dictionary so that they were being properly set. I did some fixes in src/pocketsphinx/nodes/recognizer.py to make it work with the latest code.

Comment by burtbick on 2017-08-08:
I'll have to go through the code again to refresh, but I think that it was mainly fixing up recognizer.py I''l do some more digging when I get a chance to see if there were any other changes, and what they were.

Comment by Developer on 2017-08-08:
thanks if you remember the modifications on recognizer.py data, I want to apply also same ones one my recognizer data

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.