public TrackingControl() { InitializeComponent(); //The following detector types are supported: "MIL" – TrackerMIL; "BOOSTING" – TrackerBoosting _trackingDetector = new TrackingDetector("MIL"); _camshiftDetector= new CamshiftDetector(); _bgrRed = new Bgr(Color.Red); _bgrBlue = new Bgr(Color.Blue); _imageBoxSelector = new ImageBoxSelector(); this.Load += TrackingControl_Load; }
public TrackingControl() { InitializeComponent(); //The following detector types are supported: "MIL" – TrackerMIL; "BOOSTING" – TrackerBoosting _trackingDetector = new TrackingDetector("MIL"); _camshiftDetector = new CamshiftDetector(); _bgrRed = new Bgr(Color.Red); _bgrBlue = new Bgr(Color.Blue); _imageBoxSelector = new ImageBoxSelector(); this.Load += TrackingControl_Load; }