Beispiel #1
0
 public RequestController(IStorage storage, IFileService fileService, IFaceService faceService, ILogger <RequestController> logger)
 {
     this.storage     = storage;
     this.fileService = fileService;
     this.faceService = faceService;
     this.logger      = logger;
 }
Beispiel #2
0
 public CognitiveLaunchController(
     IVisionService visionService,
     IAutoSuggestService autoSuggestService,
     IImageSearchService imageSearchService,
     ISpellCheckService spellCheckService,
     IWebSearchService webSearchService,
     INewsSearchService newsSearchService,
     IVideoSearchService videoSearchService,
     IVideoService videoService,
     IEmotionService emotionService,
     IFaceService faceService,
     ILinguisticService linguisticService,
     ISentimentService sentimentService,
     IEntityLinkingService entityLinkingService,
     ILanguageService languageService)
 {
     VisionService        = visionService;
     AutoSuggestService   = autoSuggestService;
     ImageSearchService   = imageSearchService;
     SpellCheckService    = spellCheckService;
     WebSearchService     = webSearchService;
     NewsSearchService    = newsSearchService;
     VideoSearchService   = videoSearchService;
     VideoService         = videoService;
     EmotionService       = emotionService;
     FaceService          = faceService;
     LinguisticService    = linguisticService;
     SentimentService     = sentimentService;
     EntityLinkingService = entityLinkingService;
     LanguageService      = languageService;
 }
 public VisualizationService(IOpenCvService openCvService, IFaceService faceService,
                             IEmotionService emotionService)
 {
     _openCvService  = openCvService;
     _faceService    = faceService;
     _emotionService = emotionService;
 }
 public ImageDetailViewModel(IDialogService dialogService, ILoggingService loggingService, IDataAccessService dataAccessService, IFaceService faceService)
     : base(dialogService, loggingService)
 {
     _dialogService     = dialogService;
     _loggingService    = loggingService;
     _dataAccessService = dataAccessService;
     _faceService       = faceService;
 }
 public FaceDetect(IConfiguration configuration,
                   IFaceService faceService,
                   IAzureBlobStorageService azureBlobStorageService)
 {
     _configuration           = configuration;
     _faceService             = faceService;
     _azureBlobStorageService = azureBlobStorageService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="IdentifyFaceHttpTrigger"/> class.
 /// </summary>
 /// <param name="settings"><see cref="AppSettings"/> instance.</param>
 /// <param name="blob"><see cref="IBlobService"/> instance.</param>
 /// <param name="face"><see cref="IFaceService"/> instance.</param>
 /// <param name="handler"><see cref="IEmbeddedRequestHandler"/> instance.</param>
 /// <param name="logger"><see cref="ILogger{IdentifyFaceHttpTrigger}"/> instance.</param>
 public IdentifyFaceHttpTrigger(AppSettings settings, IBlobService blob, IFaceService face, IEmbeddedRequestHandler handler, ILogger <IdentifyFaceHttpTrigger> logger)
 {
     this._settings = settings ?? throw new ArgumentNullException(nameof(settings));
     this._blob     = blob ?? throw new ArgumentNullException(nameof(blob));
     this._face     = face ?? throw new ArgumentNullException(nameof(face));
     this._handler  = handler ?? throw new ArgumentNullException(nameof(handler));
     this._logger   = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public DeleteMediaHandler(
     IMediaService mediaService,
     IFaceService faceService,
     IBus bus)
 {
     _mediaService = mediaService;
     _faceService  = faceService;
     _bus          = bus;
 }
Beispiel #8
0
 public App(IPhotoProcessor photoProcessor, IRepository <Storage> repository, IFaceService faceService, ILogger <App> logger, ISyncService syncService, IPhotoService photoService)
 {
     _photoProcessor = photoProcessor;
     _repository     = repository;
     _faceService    = faceService;
     _logger         = logger;
     _syncService    = syncService;
     _photoService   = photoService;
 }
Beispiel #9
0
 public MediaResolvers(
     IMediaStore mediaStore,
     IFaceService faceService,
     IMediaService mediaService)
 {
     _mediaStore   = mediaStore;
     _faceService  = faceService;
     _mediaService = mediaService;
 }
 public VideoFrameAnalyzerService(IEventAggregator eventAggregator, IVisualizationService visualizationService, IOpenCVService openCVService, IFaceService faceService)
 {
     _frameGrabber         = new FrameGrabber <LiveCameraResult>();
     _eventAggregator      = eventAggregator;
     _visualizationService = visualizationService;
     _openCVService        = openCVService;
     _faceService          = faceService;
     _localFaceDetector    = _openCVService.DefaultFrontalFaceDetector();
 }
Beispiel #11
0
 public UsersController(
     IFaceService faceService,
     IMapper mapper,
     IUserService userService,
     IServiceBus serviceBus)
 {
     _faceService = faceService;
     _mapper      = mapper;
     _userService = userService;
     _serviceBus  = serviceBus;
 }
Beispiel #12
0
 public PersonGroupSaved(
     ISitecoreDataWrapper dataWrapper,
     IPersonGroupService personGroupService,
     IFaceService faceService,
     IIntelligentMediaSettings settings)
 {
     DataWrapper        = dataWrapper;
     PersonGroupService = personGroupService;
     FaceService        = faceService;
     Settings           = settings;
 }
        public TrainPageViewModel()
        {
            this.Title = "Face Training";

            this.Persons = new ObservableCollection <Person>();

            //this.faceService = DependencyService.Get<IFaceService>();
            this.faceService = new MockFaceService();

            LoadPersonsCommand = new Command(async() => await LoadPersonsAsync());
        }
Beispiel #14
0
 public MediaController(
     IMediaBlobStore mediaBlobStore,
     IMediaService mediaService,
     IThumbnailBlobStore thumbnailBlobStore,
     IFaceService faceService)
 {
     _mediaBlobStore     = mediaBlobStore;
     _mediaService       = mediaService;
     _thumbnailBlobStore = thumbnailBlobStore;
     _faceService        = faceService;
 }
 public PersonGroupService(
     IIntelligentMediaSettings settings,
     ISitecoreDataWrapper dataWrapper,
     IFaceService faceService,
     IIntelligentMediaSearchService searchService)
 {
     Settings      = settings;
     DataWrapper   = dataWrapper;
     FaceService   = faceService;
     SearchService = searchService;
 }
Beispiel #16
0
 public FaceMutations(
     IFaceService faceService,
     IFaceModelBuilderService faceModelBuilder,
     IFaceDetectionService faceDetectionService,
     IMediaService mediaService)
 {
     _faceService          = faceService;
     _faceModelBuilder     = faceModelBuilder;
     _faceDetectionService = faceDetectionService;
     _mediaService         = mediaService;
 }
Beispiel #17
0
        public ShellViewModel(IEventAggregator eventAggregator, IVideoFrameAnalyzerService videoFrameAnalyzerService,
                              IVisualizationService visualizationService, IEmotionService emotionService, IFaceService faceService)
        {
            _eventAggregator           = eventAggregator;
            _videoFrameAnalyzerService = videoFrameAnalyzerService;
            _visualizationService      = visualizationService;
            _emotionService            = emotionService;
            _faceService = faceService;
            _videoFrameAnalyzerService.InitializeFrameGrabber();

            _timer = new DispatcherTimer(DispatcherPriority.Render);
            SetCurrentTime();
        }
Beispiel #18
0
        public SettingsViewModel(
            IDialogService dialogService,
            IDispatcherService dispatcher,
            IFaceService faceService)
        {
            _dialogService = dialogService;
            _dispatcher    = dispatcher;
            _faceService   = faceService;

            ActionLoaded = new RelayCommand(OnLoaded);
            ActionSave   = new RelayCommand(OnSave);
            ActionDelete = new RelayCommand(async() => await OnDelete());
        }
Beispiel #19
0
        public GamePageViewModel(INavigationService navigationService,
                                 ICameraService cameraService,
                                 IFaceService faceService,
                                 IPlayerRepository playerRepository,
                                 IScoreHistoryRepository scoreHistoryRepository)
        {
            this.NavigationService      = navigationService;
            this.CameraService          = cameraService;
            this.FaceService            = faceService;
            this.PlayerRepository       = playerRepository;
            this.ScoreHisotryRepository = scoreHistoryRepository;

            this.StartGameCommand = new DelegateCommand(async() => await this.StartGameAsync());
        }
Beispiel #20
0
 public RegisterPageViewModel(
     ICameraService cameraService,
     IPlayerRepository playerRepository,
     IFaceService faceService,
     IPageDialogService pageDialogService
     )
 {
     this.CameraService     = cameraService;
     this.PlayerRepository  = playerRepository;
     this.FaceService       = faceService;
     this.PageDialogService = pageDialogService;
     this.TakePhotoCommand  = new DelegateCommand(async() => await this.TakePhotoAsync());
     this.RegisterCommand   = new DelegateCommand(async() => await this.RegisterAsync())
                              .ObservesCanExecute(canExecuteExpression: () => this.IsValidInput);
 }
 public ManageController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     UrlEncoder urlEncoder,
     IBlobStorageService blobService,
     IFaceService faceService,
     IEmotionManager emotionManager)
 {
     this._userManager       = userManager;
     this._signInManager     = signInManager;
     this.blobStorageService = blobService;
     this.faceService        = faceService;
     this._emotionManager    = emotionManager;
 }
 public ImageAnalysisService(
     IImageSearchSettings settings,
     IImageSearchService searchService,
     ISitecoreDataWrapper dataWrapper,
     IFaceService faceService,
     IVisionService visionService,
     ICognitiveImageAnalysisFactory imageAnalysisFactory)
 {
     _settings             = settings;
     _searchService        = searchService;
     _dataWrapper          = dataWrapper;
     _faceService          = faceService;
     _visionService        = visionService;
     _imageAnalysisFactory = imageAnalysisFactory;
 }
 public ImageAnalysisService(
     IIntelligentMediaSettings settings,
     IIntelligentMediaSearchService searchService,
     ISitecoreDataWrapper dataWrapper,
     IFaceService faceService,
     IComputerVisionService visionService,
     IImageAnalysisFactory imageAnalysisFactory,
     IPersonGroupService personService)
 {
     Settings             = settings;
     SearchService        = searchService;
     DataWrapper          = dataWrapper;
     FaceService          = faceService;
     VisionService        = visionService;
     ImageAnalysisFactory = imageAnalysisFactory;
     PersonService        = personService;
 }
Beispiel #24
0
        public IntelligentMediaController(
            IIntelligentMediaSearchService searchService,
            ISitecoreDataWrapper dataWrapper,
            IWebUtilWrapper webUtil,
            IImageSearchFactory msFactory,
            ISetAltTagsAllFactory satarFactory,
            IImageAnalysisService analysisService,
            IJobResultFactory jobResultFactory,
            ISetupInformationFactory setupFactory,
            ISetupService setupService,
            IIntelligentMediaSettings searchSettings,
            IFaceService faceService,
            IPersonGroupService personGroupService,
            IComputerVisionService computerVisionService,
            IMediaWrapper mediaWrapper)
        {
            Assert.IsNotNull(searchService, typeof(IIntelligentMediaSearchService));
            Assert.IsNotNull(dataWrapper, typeof(ISitecoreDataWrapper));
            Assert.IsNotNull(webUtil, typeof(IWebUtilWrapper));
            Assert.IsNotNull(msFactory, typeof(IImageSearchFactory));
            Assert.IsNotNull(satarFactory, typeof(ISetAltTagsAllFactory));
            Assert.IsNotNull(analysisService, typeof(IImageAnalysisService));
            Assert.IsNotNull(jobResultFactory, typeof(IJobResultFactory));
            Assert.IsNotNull(setupFactory, typeof(ISetupInformationFactory));
            Assert.IsNotNull(setupService, typeof(ISetupService));
            Assert.IsNotNull(searchSettings, typeof(IIntelligentMediaSettings));
            Assert.IsNotNull(faceService, typeof(IFaceService));
            Assert.IsNotNull(personGroupService, typeof(IPersonGroupService));
            Assert.IsNotNull(computerVisionService, typeof(IComputerVisionService));
            Assert.IsNotNull(mediaWrapper, typeof(IMediaWrapper));

            SearchService         = searchService;
            DataWrapper           = dataWrapper;
            WebUtil               = webUtil;
            MediaSearchFactory    = msFactory;
            SetAltTagsAllFactory  = satarFactory;
            AnalysisService       = analysisService;
            JobResultFactory      = jobResultFactory;
            SetupFactory          = setupFactory;
            SetupService          = setupService;
            SearchSettings        = searchSettings;
            FaceService           = faceService;
            PersonGroupService    = personGroupService;
            ComputerVisionService = computerVisionService;
            MediaWrapper          = mediaWrapper;
        }
 public CognitiveLaunchController(
     IVisionService visionService,
     IAutoSuggestService autoSuggestService,
     IImageSearchService imageSearchService,
     ISpellCheckService spellCheckService,
     IWebSearchService webSearchService,
     INewsSearchService newsSearchService,
     IVideoSearchService videoSearchService,
     IVideoService videoService,
     IEmotionService emotionService,
     IFaceService faceService,
     ILinguisticService linguisticService,
     ITextAnalyticsService textAnalyticsService,
     IEntityLinkingService entityLinkingService,
     IContentModeratorService contentModeratorService,
     IAcademicSearchService academicSearchService,
     IWebLanguageModelService webLanguageModelService,
     ISpeakerIdentificationService speakerIdentificationService,
     ISpeakerVerificationService speakerVerificationService)
 {
     VisionService                = visionService;
     AutoSuggestService           = autoSuggestService;
     ImageSearchService           = imageSearchService;
     SpellCheckService            = spellCheckService;
     WebSearchService             = webSearchService;
     NewsSearchService            = newsSearchService;
     VideoSearchService           = videoSearchService;
     VideoService                 = videoService;
     EmotionService               = emotionService;
     FaceService                  = faceService;
     LinguisticService            = linguisticService;
     TextAnalyticsService         = textAnalyticsService;
     EntityLinkingService         = entityLinkingService;
     ContentModeratorService      = contentModeratorService;
     AcademicSearchService        = academicSearchService;
     WebLanguageModelService      = webLanguageModelService;
     SpeakerIdentificationService = speakerIdentificationService;
     SpeakerVerificationService   = speakerVerificationService;
 }
Beispiel #26
0
 public InitialPerson(IFaceService faceService)
 {
     _faceService = faceService;
 }
 public WeatherForecastController(ILogger <WeatherForecastController> logger, IFaceService faceService)
 {
     _faceService = faceService;
     _logger      = logger;
 }
Beispiel #28
0
 public TrainPersonGroup(IFaceService faceService)
 {
     _faceService = faceService;
 }
Beispiel #29
0
 public BulkMediaUpdater(IMediaService mediaService, IFaceService faceService, MediaStoreContext context)
 {
     _mediaService = mediaService;
     _faceService  = faceService;
     _context      = context;
 }
 public FindMorePictures(IFaceService faceService)
 {
     _faceService = faceService;
 }