RS-232 - ETSU ACM

advertisement
Billy Overton
2012-9-19
Getting back to software




RS-232
HTTP GET/POST
Infrared
Custom

Pros
 Many devices have RS-232 control
 Extremely simple
 Has common libraries
 Usually well documented

Cons
 Uncommon Hardware
 No common command set
http://files.support.epson.com/pdf/plhc87u/plhc87uug.pdf

Pros
 Uses pre-existing controls systems
 Can be as simple as an iframe
 Customizable

Cons
 Usually less documented

Pros
 Almost everything has a remote
 Will cover all the functions a user wants
 Has premade tools: (Win)LIRC
▪ http://lirc.sourceforge.net/remotes/

Cons
 Time consuming
 Hardware Dependent

Pros
 You can do anything you want

Cons
 More hardware
From voice to code


Kinect for Windows
Microsoft Speech Platform



Speech Recognition Engines
Grammars
Recognition Results


There are two types
We’ll use SpeechRecognitionEngine();


Define what we are looking for
Have three methods of creation
 GrammarBuilder class
 SrgsGrammar class
 Srgs XML file


Allows you to add items such as strings and
Choices objects to build a grammar
Used to create a Grammar object

recognitionEngine.LoadGrammar(g)

Two Methods
 Synchronous
▪ recognitionEngine.Recognize()
▪ Returns RecognitionResult
 Asynchronous
▪ recognitionEngine.RecognizeAsync()
▪ recognitionEngine.RecognizeAsync(mode)
▪ Raises SpeechRecognized event


Contains all data regarding one grammar
match.
Most notably contains:
 Result.Text
 Result.Confidence



Name: Billy Overton
Email : overtonb@goldmail.etsu.edu
IRC: logos on irc.freenode.net
 Join us in the #etsuacm channel
Download