get https://{app}.{filespin}.{io}/api/v1/assets//addons/emotion_recognition/jobs/
Retrieve result after emotion recognition using job_id
Response JSON
The Job API call will return with a JSON response as below.
{
"status": "OK",
"output": {
"data": [
{
"region": {
"x": 230,
"y": 120,
"w": 36,
"h": 45
},
"dominant_emotion": "happy",
"emotion": {
"sad": 22.502486521712,
"angry": 5.1869734642218,
"surprise": 1.39021712478604,
"fear": 6.92023844281236,
"happy": 47.341560129681,
"disgust": 1.07935840621289,
"neutral": 15.579165910566
}
}
]
}
}
Key | Value | Description |
---|---|---|
status | string | Can be QUEUED , IN_PROGRESS , OK , ERROR |
output | JSON | An JSON Object containing the result. |