We utilized Affectiva's API! Check out one the best emotion recognition apis in the industry!
After vectorizing your face as a chunk of pixel data, the app then plots anchor points on your face to show you how the demo infers your emotion.
As always, my refactored demos are free to use.
The JavaScript code that utilizes the API for the demo is available on GitHub.