Ejemplo n.º 1
0
        private void SetupTimers()
        {
            _isStopped = false;

            _vdTimer           = new Timer(33);
            _vdTimer.Elapsed  += (sender, e) => VehicleDetector.Run();
            _vdTimer.AutoReset = true;
            _vdTimer.Enabled   = true;
        }
Ejemplo n.º 2
0
        public EntityAccessorService()
        {
            Factory             = Mvx.IoCProvider.Resolve <IPlatformFactoryService>();
            Helpers             = Factory.CreateImageHelpers();
            ObjectTracker       = new ObjectTracker(this);
            FrameClassifier     = new PreliminaryFrameClassifier(this);
            CarBBoxDetector     = new CarBBoxDetector(this);
            VehicleDetector     = new VehicleDetector(this);
            CarModelClassifier  = new CarModelClassifier(this);
            CarColorClassifier  = new CarColorClassifier(this);
            TopFeaturesDetector = new TopCarFeaturesDetector(this);

            SetupTimers();
            ResumeEntities();
        }