Example #1
0
 public AzureEmotionService(IAnomalyDetectionProvider anomalyService, IFrameRepository framesStorage,
                            IEmotionRespository emotionStorage, IEnvironmentConfig config)
 {
     _client         = new Microsoft.ProjectOxford.Emotion.EmotionServiceClient(_config.CognitiveSubscriptionKey);
     _anomalyService = anomalyService;
     _framesStorage  = framesStorage;
     _emotionStorage = emotionStorage;
     _config         = config;
 }
 public NaiveAnomalyDetectionProvider(IEmotionRespository emotionsRepo)
 {
     _emotionsRepo = emotionsRepo;
 }