Skip to content

Instantly share code, notes, and snippets.

@IndianGuru
Created May 19, 2016 09:05
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 IndianGuru/ea61758127cbe450f4918e204b7411c1 to your computer and use it in GitHub Desktop.
Save IndianGuru/ea61758127cbe450f4918e204b7411c1 to your computer and use it in GitHub Desktop.
Struct used
type FaceResp []struct {
FaceID string `json:"faceId"`
FaceRectangle struct {
Top int `json:"top"`
Left int `json:"left"`
Width int `json:"width"`
Height int `json:"height"`
} `json:"faceRectangle"`
FaceAttributes struct {
Gender string `json:"gender"`
Age float64 `json:"age"`
Glasses string `json:"glasses"`
} `json:"faceAttributes"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment