Skip to content

pklam/emotion-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emotion Reader Demo

The Emotion API takes a facial expression in an image as an input, and returns the confidence across a set of emotions for each face in the image, as well as bounding box for the face, using the Face API.

Based off the Azure Emotion API to classify facial images into a range of emotions such as:

  • anger
  • contempt
  • happiness
  • neutral
  • disgust
  • fear
  • sadness
  • surprise

How to setup

  • Register for a free subscription key: here

  • Replace the empty quotes with your key. xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","");

  • Replace the URL with your endpoint URL. Make sure recognize is still at the end. url: "https://westus.api.cognitive.microsoft.com/emotion/v1.0/recognize?",

  • Open index.html.

About

Quick demo application for UH MISSO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages