Skip to content

Instantly share code, notes, and snippets.

@regorov
Last active December 17, 2021 22:29
Show Gist options
  • Save regorov/5f613acdb391f114709257dfedd63edd to your computer and use it in GitHub Desktop.
Save regorov/5f613acdb391f114709257dfedd63edd to your computer and use it in GitHub Desktop.
AWS Rekognition response
{
"Pose": {
"Yaw": 2.9656729698181152,
"Roll": 1.1993328332901,
"Pitch": 4.9567670822143555
},
"Beard": {
"Value": true,
"Confidence": 96.44929504394531
},
"Smile": {
"Value": true,
"Confidence": 93.71525573730469
},
"Gender": {
"Value": "Male",
"Confidence": 99.87115478515625
},
"Quality": {
"Sharpness": 92.22801208496094,
"Brightness": 84.51126098632812
},
"AgeRange": {
"Low": 28,
"High": 44
},
"Emotions": [{
"Type": "HAPPY",
"Confidence": 98.07247161865234
}, {
"Type": "CALM",
"Confidence": 1.275267481803894
}, {
"Type": "CONFUSED",
"Confidence": 0.18579158186912537
}, {
"Type": "SURPRISED",
"Confidence": 0.1281026303768158
}, {
"Type": "ANGRY",
"Confidence": 0.1233738586306572
}, {
"Type": "SAD",
"Confidence": 0.10891193151473999
}, {
"Type": "DISGUSTED",
"Confidence": 0.07383877784013748
}, {
"Type": "FEAR",
"Confidence": 0.032243192195892334
}],
"EyesOpen": {
"Value": true,
"Confidence": 97.8965072631836
},
"Mustache": {
"Value": false,
"Confidence": 56.32387924194336
},
"Landmarks": [{
"X": 0.3245677649974823,
"Y": 0.4663059115409851,
"Type": "eyeLeft"
}, {
"X": 0.6310210227966309,
"Y": 0.4692823886871338,
"Type": "eyeRight"
}, {
"X": 0.3441742956638336,
"Y": 0.7146580219268799,
"Type": "mouthLeft"
}, {
"X": 0.5997186899185181,
"Y": 0.7170575261116028,
"Type": "mouthRight"
}, {
"X": 0.48623329401016235,
"Y": 0.5952848792076111,
"Type": "nose"
}, {
"X": 0.2060239464044571,
"Y": 0.4090976119041443,
"Type": "leftEyeBrowLeft"
}, {
"X": 0.3934573531150818,
"Y": 0.39090290665626526,
"Type": "leftEyeBrowRight"
}, {
"X": 0.3026999831199646,
"Y": 0.37784385681152344,
"Type": "leftEyeBrowUp"
}, {
"X": 0.5687156915664673,
"Y": 0.3927335739135742,
"Type": "rightEyeBrowLeft"
}, {
"X": 0.7381648421287537,
"Y": 0.4140697121620178,
"Type": "rightEyeBrowRight"
}, {
"X": 0.6555867791175842,
"Y": 0.38139042258262634,
"Type": "rightEyeBrowUp"
}, {
"X": 0.2680509388446808,
"Y": 0.46518179774284363,
"Type": "leftEyeLeft"
}, {
"X": 0.3844064176082611,
"Y": 0.469059020280838,
"Type": "leftEyeRight"
}, {
"X": 0.3242664039134979,
"Y": 0.45342394709587097,
"Type": "leftEyeUp"
}, {
"X": 0.3251928687095642,
"Y": 0.47718706727027893,
"Type": "leftEyeDown"
}, {
"X": 0.5693877935409546,
"Y": 0.4708750545978546,
"Type": "rightEyeLeft"
}, {
"X": 0.6830494999885559,
"Y": 0.469140887260437,
"Type": "rightEyeRight"
}, {
"X": 0.6318392753601074,
"Y": 0.4564260244369507,
"Type": "rightEyeUp"
}, {
"X": 0.628548800945282,
"Y": 0.48007750511169434,
"Type": "rightEyeDown"
}, {
"X": 0.41963034868240356,
"Y": 0.625038206577301,
"Type": "noseLeft"
}, {
"X": 0.532791793346405,
"Y": 0.6261023283004761,
"Type": "noseRight"
}, {
"X": 0.4760420322418213,
"Y": 0.6840968132019043,
"Type": "mouthUp"
}, {
"X": 0.47233128547668457,
"Y": 0.7595179080963135,
"Type": "mouthDown"
}, {
"X": 0.3245677649974823,
"Y": 0.4663059115409851,
"Type": "leftPupil"
}, {
"X": 0.6310210227966309,
"Y": 0.4692823886871338,
"Type": "rightPupil"
}, {
"X": 0.12192981690168381,
"Y": 0.4752768278121948,
"Type": "upperJawlineLeft"
}, {
"X": 0.18174605071544647,
"Y": 0.7439241409301758,
"Type": "midJawlineLeft"
}, {
"X": 0.4641663432121277,
"Y": 0.890282392501831,
"Type": "chinBottom"
}, {
"X": 0.7227170467376709,
"Y": 0.7487475275993347,
"Type": "midJawlineRight"
}, {
"X": 0.7890953421592712,
"Y": 0.48150235414505005,
"Type": "upperJawlineRight"
}],
"MouthOpen": {
"Value": false,
"Confidence": 87.1740493774414
},
"Confidence": 99.99848937988281,
"Eyeglasses": {
"Value": false,
"Confidence": 97.25
},
"Sunglasses": {
"Value": false,
"Confidence": 98.91089630126953
},
"BoundingBox": {
"Top": 0.17241886258125305,
"Left": 0.12433061003684998,
"Width": 0.6622241139411926,
"Height": 0.749609112739563
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment