Created
February 1, 2026 17:05
-
-
Save 9Dave9/46c151d3e901d710891997248e70ccc8 to your computer and use it in GitHub Desktop.
Example Json object with info from DeepFace analysis - JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "success": true, | |
| "data": { | |
| "faces": [ | |
| { | |
| "face_id": 1, | |
| "region": { | |
| "x": 138, | |
| "y": 102, | |
| "w": 213, | |
| "h": 265, | |
| "left_eye": [ | |
| 282, | |
| 205 | |
| ], | |
| "right_eye": [ | |
| 192, | |
| 239 | |
| ], | |
| "nose": [ | |
| 253, | |
| 283 | |
| ], | |
| "mouth_left": [ | |
| 303, | |
| 302 | |
| ], | |
| "mouth_right": [ | |
| 240, | |
| 330 | |
| ] | |
| }, | |
| "age": { | |
| "estimated_age": 24 | |
| }, | |
| "gender": { | |
| "dominant": "Woman", | |
| "confidence_scores": { | |
| "Woman": 99.70069885253906, | |
| "Man": 0.2993118166923523 | |
| } | |
| }, | |
| "race": { | |
| "dominant": "white", | |
| "confidence_scores": { | |
| "asian": 3.9518544673919678, | |
| "indian": 3.0617167949676514, | |
| "black": 1.491036057472229, | |
| "white": 41.75245666503906, | |
| "middle eastern": 8.858946800231934, | |
| "latino hispanic": 40.88399124145508 | |
| } | |
| }, | |
| "emotion": { | |
| "dominant": "neutral", | |
| "confidence_scores": { | |
| "angry": 13.913759231567383, | |
| "disgust": 0.0012489286018535495, | |
| "fear": 5.908020496368408, | |
| "happy": 0.20079433917999268, | |
| "sad": 15.03478717803955, | |
| "surprise": 0.029286524280905724, | |
| "neutral": 64.91210174560547 | |
| } | |
| } | |
| } | |
| ], | |
| "summary": { | |
| "total_faces": 1, | |
| "analysis_performed": [ | |
| "age", | |
| "gender", | |
| "race", | |
| "emotion" | |
| ] | |
| }, | |
| "detection_backend_used": "retinaface" | |
| }, | |
| "error": null, | |
| "token_info": { | |
| "input_tokens": 272, | |
| "output_tokens": 377 | |
| }, | |
| "image_info": { | |
| "faces_detected": 1, | |
| "original_size_bytes": 615413, | |
| "optimized_size_bytes": 83862 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment