Skip to content

๐Ÿ˜๐Ÿ˜๐Ÿ˜ฎ๐Ÿ˜ก Experiment with Emojis and Emotion Detection

License

Notifications You must be signed in to change notification settings

efduarte/Emojic-Mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Emojic Mirror

The Emojic Mirror is an interactive digital artefact that explores the use of emojis and emotion detection. Can you express all the eight supported emotions? And what happens if multiple people try it at the same time? Try the live demo hosted on GitHub Pages, or install it locally on your machine and find out.

Setup

Setting up Emojic Mirror is simple:

  1. First, go grab a Microsoft Cognitive Services Face API endpoint & key
  2. Then, edit the following lines in js/script.js with your new API endpoint and key:
url: "https://<YOUR CUSTOM API URL HERE!>.cognitiveservices.azure.com/face/v1.0/detect?returnFaceAttributes=emotion",

...

xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","YOUR-API-KEY-HERE!");
  1. There is no third step, you are ready to go!

Known Limitations

Our live demo hosted on GitHub Pages uses a standard free account from Microsoft Cognitive Services. To avoid exceeding the free quota and breaking the example, it only sends a request every five seconds. However, if multiple people open the live demo at the same time, it may exceed the quota anyway and a local install with your own API key may be needed. Furthermore, keep in mind that you will need to allow the browser to access your webcam (you may need to refresh the page after giving this permission), and, for security reasons, this feature only works over the https protocol or locally.

Disclaimer

This project is financially supported by FAPESP grant #2017/06762-0. The opinions, hypotheses and conclusions or recommendations expressed in this material are the responsibility of the authors and do not necessarily reflect the views of FAPESP. Emojic Mirror is inspired by the minimal enactive system proposed by Mauri Kaipainen and colleagues in 2011.

About

๐Ÿ˜๐Ÿ˜๐Ÿ˜ฎ๐Ÿ˜ก Experiment with Emojis and Emotion Detection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published