Skip to content

Instantly share code, notes, and snippets.

@jinalshah999
Last active September 7, 2017 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jinalshah999/94cdf8cf4b1c86cf5a07b89a30b6c4e4 to your computer and use it in GitHub Desktop.
Save jinalshah999/94cdf8cf4b1c86cf5a07b89a30b6c4e4 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
using Newtonsoft.Json;
public class FaceRectangle
{
public int height { get; set; }
public int left { get; set; }
public int top { get; set; }
public int width { get; set; }
}
public class Scores
{
public double anger { get; set; }
public double contempt { get; set; }
public double disgust { get; set; }
public double fear { get; set; }
public double happiness { get; set; }
public double neutral { get; set; }
public double sadness { get; set; }
public double surprise { get; set; }
}
public class EmotionResponse
{
public FaceRectangle faceRectangle { get; set; }
public Scores scores { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment