Exemple #1
0
        private void DoTracking()
        {
            var ft = new FaceTracking(this);

            ft.SimplePipeline();
            Invoke(new DoTrackingCompleted(() =>
            {
                foreach (CheckBox moduleCheckBox in m_modulesCheckBoxes)
                {
                    moduleCheckBox.Enabled = true;
                }
                Start.Enabled    = true;
                Stop.Enabled     = false;
                MainMenu.Enabled = true;

                Mirror.Enabled             = true;
                NumDetectionText.Enabled   = true;
                NumLandmarksText.Enabled   = true;
                NumPoseText.Enabled        = true;
                NumExpressionsText.Enabled = true;

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

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