/EmotionBadge

Rate your Github profile picture emotion using badges

Primary LanguageJavaScriptApache License 2.0Apache-2.0

EmotionBadge 😊

EmotionBadge is a service of choice. It extracts the emotion from your Github profile photo using Azure Face Api and gives you a bagde using Shields.io for your README.md file.

Usage

It is too easy to use and insert in your README.md

https://emotionbadge.onrender.com/emotion/<Your github username>/<emotion>

Avilable emotion types are

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

In auto emotion, the emotion which have the most probable value will be displayed automatically.

Example

  • Auto
  • Smile
  • Fear
  • Neutral

Scoring system

In this project we are using Azure Face Api to detect emotions from the profile picture. It scores the emotion between 0 to 1 upon the Face Api model confidence. It is based on AI so the score may not be satisfatory everytime to users.

If it does not find any face of any user profile picturec then it shows and error badge like error

Used Tech