public VisualizationService(IOpenCvService openCvService, IFaceService faceService, IEmotionService emotionService) { _openCvService = openCvService; _faceService = faceService; _emotionService = emotionService; }
public VideoFrameAnalyzerService(IEventAggregator eventAggregator, IVisualizationService visualizationService, IOpenCvService openCvService, IFaceService faceService, IDataInsertionService dataInsertionService) { _frameGrabber = new FrameGrabber <LiveCameraResult>(); _eventAggregator = eventAggregator; _visualizationService = visualizationService; _openCvService = openCvService; _faceService = faceService; _dataInsertionService = dataInsertionService; _localFaceDetector = _openCvService.DefaultFrontalFaceDetector(); }