General Discussion

Flat
How to get output from "cygwin results"
User: spiegel
Date: 2/24/2012 12:07 pm
Views: 8672
Rating: 7

We are working on a project. We want to control a robot by verbal commands.

In order to do it, i use HTK with cygwin for speech recognation.

But i dont know how i can get output from the computer.

For example, when i say "Right" program writes to the screen "Right", but how i can use this to control robot, when i say "Right i need to take an output signal from the computer,

Can i write these in text file? and can i use a program like c# in order to take an output from the computer via RS232 or something? Then i will send these signal to a robot by RF module.

To sum up,Speech recognation is working well but i dont know how i can use it to control a robot

We need help , thanks for answer

--- (Edited on 2/24/2012 12:07 pm [GMT-0600] by spiegel) ---

--- (Edited on 2/24/2012 4:07 pm [GMT-0600] by spiegel) ---

--- (Edited on 2/24/2012 4:08 pm [GMT-0600] by spiegel) ---

Re: How to get output from "cygwin results"
User: kmaclean
Date: 2/24/2012 4:37 pm
Views: 106
Rating: 8

>But i dont know how i can get output from the computer.

see this post: What is a Dialog Manager? for examples of how to do it in many different languages - the section "on domain specific applications" at the bottom is what you should look at.

--- (Edited on 2/24/2012 5:37 pm [GMT-0500] by kmaclean) ---

Re: How to get output from "cygwin results"
User: spiegel
Date: 2/28/2012 4:09 am
Views: 131
Rating: 6

Thanks for answer, i didn't look yet what you suggested, but i want to ask my question again by this picture http://img338.imageshack.us/img338/5900/adszfxu.jpg

 

In the picture when i say seven it writes seven or when i say eight it writes eight.

What i want is, when i say seven i want to take voltage from the computer by usb port or via RS 232. Can i find the solution from what you suggest?

--- (Edited on 2/28/2012 4:09 am [GMT-0600] by spiegel) ---

Re: How to get output from "cygwin results"
User: kmaclean
Date: 2/28/2012 5:39 pm
Views: 235
Rating: 7

>when i say seven i want to take voltage from the computer by usb port or via RS 232.

You need to look at capturing the output from julius using the standard streams (i.e. stdout), and parsing the output to do what you want.

 

--- (Edited on 2/28/2012 6:39 pm [GMT-0500] by kmaclean) ---

Re: How to get output from "cygwin results"
User: spiegel
Date: 3/2/2012 3:41 am
Views: 94
Rating: 8

Is there any source which explains in detail how to capture the output of the julius? Because i am a new user of julius and htk.

--- (Edited on 3/2/2012 3:41 am [GMT-0600] by spiegel) ---

Re: How to get output from "cygwin results"
User: kmaclean
Date: 3/2/2012 11:42 am
Views: 108
Rating: 7

>Is there any source which explains in detail how to capture the output of the julius?

what programming/scripting languages are you familiar with?

--- (Edited on 3/2/2012 12:42 pm [GMT-0500] by kmaclean) ---

Re: How to get output from "cygwin results"
User: spiegel
Date: 3/7/2012 6:58 am
Views: 126
Rating: 6

>what programming/scripting languages are you familiar with?

 

Im trying to learn python , i found this example http://www.aonsquared.co.uk/robot_arm_tutorial_2

i think that can help me, but this example is done in unix , can i use it on cygwin?

What do you think about this example? Can it help me?

--- (Edited on 3/7/2012 6:58 am [GMT-0600] by spiegel) ---

Re: How to get output from "cygwin results"
User: RainCT
Date: 3/2/2012 2:57 pm
Views: 118
Rating: 7

Hi,

The easiest way is to just look for some marker in the output, like the "sentence1: <s>" ... "</s>".

Have you seen the sample code on my blog? http://bloc.eurion.net/archives/2008/writing-a-command-and-control-application-with-voice-recognition/comment-page-1/#comment-21603

--- (Edited on 3/2/2012 2:57 pm [GMT-0600] by RainCT) ---

Re: How to get output from "cygwin results"
User: Visitor
Date: 3/4/2012 6:26 am
Views: 73
Rating: 8

Hi,

Yes i have seen your codes but i didnt analyze them, i am not familiar with python but i am trying to learn it , i suppose python can be a solution for me, cant it?

and also i found this example,

http://www.aonsquared.co.uk/robot_arm_tutorial_2

in this example julius and python is used.

And iam working on windows vista and iam using cygwin for htk and julius, is it possible i can use python with cygwin?

--- (Edited on 3/4/2012 6:26 am [GMT-0600] by Visitor) ---

Re: How to get output from "cygwin results"
User: spiegel
Date: 3/4/2012 6:32 am
Views: 149
Rating: 8


Hi,

Yes i have seen your codes but i didnt analyze them, i am not familiar with python but i am trying to learn it , i suppose python can be a solution for me, cant it?

and also i found this example,

http://www.aonsquared.co.uk/robot_arm_tutorial_2

in this example julius and python is used.

And iam working on windows vista and iam using cygwin for htk and julius, is it possible i can use python with cygwin?

--- (Edited on 3/4/2012 6:32 am [GMT-0600] by spiegel) ---

PreviousNext