Beispiel #1
0
        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;
        }
Beispiel #2
0
        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;
        }