Basic demo using Microsoft Cognitive Services Emotion API using an Azure Function.
Sign up for the service, get a key for the Emotion API, add it to the Azure Function, then upload a file containing faces.
The results get sent to a DocumentDB collection to show how to do that.
For more information, see the blog entry.