A set of links you might find useful.

An ASP.Net web application that uses the Cognitive Services Emotion API to asses various emotions shown in a group photo and put them in sequence. Yo can use this to find out who is the most and least happy, sad, angry etc in a group photo.