public void Start(SettingsControlProperties settings) { _settings = settings; InitializeCapture(); _capture.ImageGrabbed += (s, e) => FindMotion(); _capture.Start(); IsProcessing = true; }
public SettingsControlProperties(SettingsControlProperties settings) { CascadeType = settings.CascadeType; SourceType = settings.SourceType; BrowsePath = settings.BrowsePath; ScaleFactor = settings.ScaleFactor; MinNeighbors = settings.MinNeighbors; MinSize = settings.MinSize; MaxSize = settings.MaxSize; }