public MotionDetectorInstance(LicencePlateRecognition lpr)
        {
            this.LPR = lpr;

            //LPR.processingPlateFinished += LPR_processingPlateFinished;

            createMotionDetector();
        }
Exemplo n.º 2
0
        public VideoControl(String feedName, String sourceAddress, Boolean isEntrance, Form1 mainForm)
        {
            this.feedName = feedName;
            this.main = mainForm;
            this.sourceAddress = sourceAddress;
            this.isEntrance = isEntrance;

            initializeComponent();

            _lpr = new LicencePlateRecognition();
            _lpr.processingPlateFinished += processingPlateFinished;

            _motionDetector = new MotionDetectorInstance(_lpr);
            loadVideo(sourceAddress);
            startVideo();
        }