DEV Community

Joysankar Majumdar
Joysankar Majumdar

Posted on • Updated on

Emotion Badge for Github

Overview of My Submission

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.

Submission Category:

AI Aces

Link to Code on GitHub

GitHub logo JoyMajumdar2001 / EmotionBadge

Rate your Github profile picture emotion using badges

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




Usage

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

https://emotionbadge.onrender.com/emotion/<Your github username>/<emotion>
Enter fullscreen mode Exit fullscreen mode

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 and if no face is detected then it'll show this badge

  • Auto

Example

  • 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

Top comments (2)

Collapse
 
kasuken profile image
Emanuele Bartolesi

it looks similar to our submission!
Great minds thinks alike :)

Collapse
 
joysankar2001 profile image
Joysankar Majumdar

Yeah! πŸ˜…