When motion is detected the camera takes a screenshot and sends it to the Microsoft Cognitive Services Emotion API. This returns a JSON object with the scores of emotion from the people in the images. When the result is calculated it show the emotion back to the user on the screen in the form of a smiley. If the green LED is on data is being send to the cognitive services.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!