Esempio n. 1
0
        public void StopEntities()
        {
            if (_isStopped)
            {
                return;
            }

            _isStopped       = true;
            _vdTimer.Enabled = false;
            ObjectTracker.Release();
        }
Esempio 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();
        }