Software Archive
Read-only legacy content
17061 Discussions

C# Speech Recognition Sample?

Robert_Oschler
Beginner
451 Views

I've looked in the RSSDK samples directory and I only see a C++ speech recognition sample(FF_SpeechRecognition_vs2013.sln) , not a C# one.  Does one exist?  If so, where is it?

0 Kudos
2 Replies
AndreCarlucci
Beginner
451 Views

Hi Robert,

You will find it in your RSSDK dir, at \Samples\FF_SpeechRecognition.cs

You can also use SharpSenses to do that:

Nuget:

"Install-Package SharpSenses.RealSense"

//create camera object
ICamera cam = Camera.Create();

//Speech synthesis
cam.Speech.Say("Isn't that cool?");

//Speech Recognition
cam.Speech.SpeechRecognized += (s, a) => {
    Console.WriteLine("-> " + a.Sentence);
};
cam.Speech.EnableRecognition();

Cheers!

0 Kudos
Robert_Oschler
Beginner
451 Views

Hello Andre,

That's odd, once you gave me the CS file name I found it but it's in a completely different directory on my install:

Intel\RSSDK\framework\CSharp

That explains why I couldn't find anything in the /samples directory.  Strange that there's such a difference in the file structure between our two installs.  Thanks for the tip.

0 Kudos
Reply