Esempio n. 1
0
 void Recognized(object obj, RecognizeCoreEntry.ResultEventArgs e)
 {
     if (e.results.Max.percent > 0.8)
     {
         Console.WriteLine("Recognized Patten:" + e.results.Max.result + " percent:" + e.results.Max.percent.ToString());
     }
     else
     {
         Console.WriteLine("Recognized but not a fair result");
     }
 }
Esempio n. 2
0
 public static void ResultEvent(object obj, RecognizeCoreEntry.ResultEventArgs e)
 {
     Console.WriteLine(e.results.Max.result + " " + e.results.Max.percent.ToString() + "%");
 }