Example #1
0
 private void StartDisplay_Click(object sender, RoutedEventArgs e)
 {
     if (Webcam.GetWebCam() != -1)
     {
         Face.faceRecognition_Timer.Start();
         new Task(new Action(() => { Webcam.Start(); })).Start();
     }
     else
     {
         MessageBox.Show("Please Select Webcam!");
     }
 }