コード例 #1
0
        private void DoTracking()
        {
            var ft = new FaceTracking(this);

            ft.SimplePipeline();

            Invoke(new DoTrackingCompleted(() =>
            {
                EnableModuleCheckBoxes();
                EnableTextBoxes();
                DisableUnsupportedAlgos();
                RestoreUserSettings();

                MainMenu.Enabled = true;
                Start.Enabled    = true;
                Stop.Enabled     = false;

                RegisterUser.Enabled   = false;
                UnregisterUser.Enabled = false;

                if (m_closing)
                {
                    Close();
                }
            }));
        }
コード例 #2
0
        private void DoTracking()
        {
            var ft = new FaceTracking(this);

            ft.SimplePipeline();
            Invoke(new DoTrackingCompleted(() =>
            {
                MainMenu.Enabled = true;
                Start.Enabled    = true;
                Stop.Enabled     = false;
                if (m_closing)
                {
                    Close();
                }
            }));
        }
コード例 #3
0
 private void DoTracking()
 {
     var ft = new FaceTracking(this);
     ft.SimplePipeline();
 }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: yafim/MilabALS
        private void DoTracking()
        {
            var ft = new FaceTracking(this);
            ft.SimplePipeline();

            Invoke(new DoTrackingCompleted(() =>
            {
                EnableModuleCheckBoxes();
                EnableTextBoxes();
                DisableUnsupportedAlgos();
                RestoreUserSettings();

                MainMenu.Enabled = true;
                Start.Enabled = true;
                Stop.Enabled = false;

               // RegisterUser.Enabled = false;
               // UnregisterUser.Enabled = false;

                if (m_closing) Close();
            }));
        }