Ejemplo n.º 1
0
        public static FaceRecognitionProgressThread CreateFaceRecogProgressThread()
        {
            face_recog_progress   = new FaceRecognitionProgressThread();
            face_recog_progress_2 = new FaceRecognitionProgressThread();
            face_recog_progress.StartWorking();
            face_recog_progress_2.StartWorking();

            return(face_recog_progress);
        }
Ejemplo n.º 2
0
        public void FaceRecognitionProgressThreadDoWorkTest()
        {
            MainWindow window = new MainWindow();

            Nkujukira.Demo.Singletons.Singleton.InitializeStuff();
            FaceRecognitionProgressThread thread = new FaceRecognitionProgressThread();

            thread.StartWorking();
            Assert.IsTrue(thread.IsRunning());
            thread.RequestStop();
        }