Ejemplo n.º 1
0
 public FaceUploaderAPIController(EmotionCoreContext context, IOptions <AppSettings> settings, IHostingEnvironment environment)
 {
     _context       = context;
     faceHelper     = new FaceHelper(settings.Value.ApiKey, settings.Value.BaseUri);
     faceAttributes = new FaceAttributeType[]
     {
         FaceAttributeType.Emotion
     };
     UPLOAD_DIR        = settings.Value.UploadDir;
     this._environment = environment;
 }
Ejemplo n.º 2
0
 public EmoEmotionsAPIController(EmotionCoreContext context)
 {
     _context = context;
 }
Ejemplo n.º 3
0
 public EmoPicturesController(EmotionCoreContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public EmoFacesController(EmotionCoreContext context)
 {
     _context = context;
 }