public void StudentRecognitionThreadDoWorkTest()
 {
     Image<Bgr, byte>[] faces={Singleton.FACE_PIC};
     StudentRecognitionThread thread = new StudentRecognitionThread(faces);
     thread.StartWorking();
     Assert.IsTrue(thread.IsRunning());
 }
 public void StudentRecognitionThreadStudentRecognitionThreadTest()
 {
     Image<Bgr,byte>[] faces={Singleton.FACE_PIC};
     StudentRecognitionThread thread = new StudentRecognitionThread(faces);
     Assert.IsNotNull(thread);
 }
예제 #3
0
 public void StartFaceRecognition(Object state)
 {
     Debug.WriteLine("STARTING FACE RECOGNITION FOR FACE");
     FaceRecognitionThread face_recognizer = new StudentRecognitionThread(perpetrator.faces);
     face_recognizer.StartWorking();
 }