private void ProcessingSettingsPropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == "TrackingMethod") { CameraControl.Instance.ClearROI(); detectionManager.Clear(); } }
private void ProcessingSettingsPropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == "TrackingMethod") { if (GTHardware.Camera.Instance.Device != null) { GTHardware.Camera.Instance.Device.ClearROI(); } detectionManager.Clear(); } }