Example #1
0
    public void StartService()
    {
        InitCameraAndLensCaches();
        LoadTagCache();

        _workService.AddJobSource(this);
    }
Example #2
0
 public void StartService()
 {
     if (EnableIndexing)
     {
         _workService.AddJobSource(this);
     }
     else
     {
         Logging.Log("Indexing has been disabled.");
     }
 }
Example #3
0
    public ThumbnailService(StatusService statusService,
                            ImageProcessService imageService,
                            ImageCache imageCache, WorkService workService)
    {
        _statusService          = statusService;
        _imageProcessingService = imageService;
        _imageCache             = imageCache;
        _workService            = workService;

        _workService.AddJobSource(this);
    }
Example #4
0
    public void StartService()
    {
        if (!EnableImageRecognition)
        {
            Logging.Log("AI Image recognition service was disabled.");
            return;
        }

        LoadPersonCache();

        _workService.AddJobSource(this);
    }