Finger starter query

Hello fellow MRLians

Today I received a query from one of our newer members, but was unable to reply directly.
It occured to me, if one user has the question, then others may as well.

Below is the query and my attempt to answer it.
Chime in if i make an error

"Hi Ray , I see you have very good knowledge.
Can i ask you,
I use this script
but there is a delay in response for example when i say Open your finger
its opens after maybe 38 seconds
what should I do ? I don't have any experience with python , I just
use the scripts ..

Personally, i never got around to using thethe finger starter, but looking at the script and making a few assassumption (the source of most errors) i would hazard to suggest either a very slow computer or more likely a slow internet connection.

The script uses webkit for the speech recognition.  This has proven to be reasonably good with a reasonable level of accuracy, however, it is an intinternet based service, using googles services.  If you havea slow internet service, it can have a great impact on the speech recognition service.

While the top end devdevelopers here are looking into technologies to free us of from the internet requirement, it is still a way off yet for a system that works as well as Webkit.

There are alternatives such as sphinx, which i would suggest you read up on. Have a look in the documentation at the top of this page and check out the service matrix,



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
GroG's picture

Hi Ray, You are correct. 

Hi Ray,

You are correct.   The delay in response is likely to do with an slow internet connection.  Although to be sure we would want a myrobotlab.log file.  Inside are timing diagnostics.

I see that MarySpeech is used which is not affected by slow internet connections.we   MarySpeech works completely locally, its uses more local resources too - so it would be affected by a slow computer or one which has little memory.

Yes, we are continually investigating open source projects (such as Sphinx4) to do speech recognition.  On the speech synthesis side MarySpeech is the leader.

Your answer and references were excellent, thanks for replying to our new guest !

Cheers !

Dania Ghannam's picture

error in scripts

Hello , 
thanks for all ,, 
my internet connection good , and also my device  
I attach the finger and I want to test it , I used this python code ( /  as is put it above , 
but it is not running because there is an error , 
------Traceback (most recent call last):  File string, line 50, 
in moduleAttributeError: org.myrobotlab.service.InMoovHand object has no attribute setAutoEnable
at org.python.core.Py.AttributeError(
at org.python.core.PyObject.noAttributeError(
at org.python.core.PyObject.__getattr__(
at org.python.pycode._pyx5.f$0(string:84)
at org.python.pycode._pyx5.call_function(string)
at org.python.core.Py.runCode(
at org.python.core.Py.exec(
at org.python.util.PythonInterpreter.exec(
at org.myrobotlab.service.Python$ ) 
I'm so so sorry becase maybe I'm asking maybe stupid quistion , but I'm still a student and I have to learn by myselft and its the first time that I use  python and also deal with arduino ,