Back to Parent

Building Algorithm

This is the most fun part! There are eight emotions that Microsoft Azure API detects: anger, contempt, disgust, fear, happiness, neutral, sadness, surprise. Although I am not a food expert or a nutrition scientist, I did some basic research about what food can help with what emotions. For example, cocoa contains compounds that have been demonstrated to reduce anxiety and enhance calmness so I decided to provide it when the users seem to have fear. I also provide non-alcoholic drinks for the users who is detected to be under 16 years old in their selfies. There are many more fun things that I can continue to build and play with in the future, such as customizing cocktails by people's hair color, building "drunk texts"response when people's facial attributions seem to be drunk, which can be achieved by analyzing their eye-open status and smiling intensity.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0