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(); } })); }
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(); } })); }
private void DoTracking() { var ft = new FaceTracking(this); ft.SimplePipeline(); }
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(); })); }