Esempio n. 1
0
 public FacePage()
 {
     InitializeComponent();
     SetSerial();
     voiceInstructionsManager = VoiceInstructionsManager.Instance;
     video.LoadedBehavior     = MediaState.Manual;
     video.Stop();
     faceRecManager = new FaceRecManager();
 }
Esempio n. 2
0
 public SpeechPage()
 {
     InitializeComponent();
     isDone        = false;
     speechManager = new SpeechRecManager();
     speechManager.PartialResponseReceived += TextArrived;
     speechManager.ResponseReceived        += TextArrived;
     wordsToDetect = new List <string>();
     wordsToDetect.Add("pizza");
     wordsToDetect.Add("vodka");
     wordsToDetect.Add("rain");
     wordsToDetect.Add("electronics");
     wordsToDetect.Add("sunny");
     voiceInstructionsManager = VoiceInstructionsManager.Instance;
     voiceInstructionsManager.SpeechInstructions();
 }