How to get probabilities of all emotions?

0

Hello,

I was testing Amazon Rekognition Demo. My purpose is emotion recognition.

When I upload an image file, I can see the emotion as below:
"appears to be happy , 99.5 %"

But, what I am looking for is the probability or value of all motions (i.e. happiness, sadness, anger, etc). Even thought the probability or value of emotion is very low or zero.
Is there any way to get such results?

I checked other cloud services and companies for emotion recognition. They give probabilities of all their tracked emotions.

If the answer is Yes, please let me know if I can get all emotion probabilities for a video. By this way, I can draw a continuous graph of emotions.

I assume that summation of all probabilities must be 1 (100%).

Thank you for your time.
Mohammad

MadoS
asked 4 years ago210 views
1 Answer
0

Hi Mohammad, when you are viewing the results in the Rekognition Demo console, you can see the full response after expanding the response under the results output. This JSON will contain the full emotions list for each face. The emotions are also accessible for an image through our DetectFaces API[1] when using one of our SDKs or the CLI. We also support returning emotions in a video through the GetFaceDetection results[2] for a video job that was started with the StartFaceDetection API[3].

[1] https://docs.aws.amazon.com/rekognition/latest/dg/API_DetectFaces.html
[2] https://docs.aws.amazon.com/rekognition/latest/dg/API_GetFaceDetection.html
[3] https://docs.aws.amazon.com/rekognition/latest/dg/API_StartFaceDetection.html

AWS
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions