Skip to content

An OpenCV and FER-based tool (~70% accuracy) for face detection and emotion recognition, applying real-time filters (e.g., smiley for "happy") with emotion text display. Inspired by Snapchat.

License

Notifications You must be signed in to change notification settings

CodeWithMoin/EmotionFaceFilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion-Based Face Filter

A Computer Vision tool using OpenCV for face detection and FER for emotion recognition (~70% accuracy). Applies custom filters (e.g., smiley for "happy") and displays emotion at the bottom. Inspired by Snapchat filters.

Features

  • Face detection with Haar Cascade Classifier.
  • Emotion recognition (happy, sad, angry) with FER.
  • Emotion-specific overlays and bottom text display.

Results

  • Happy face → Green circle, "Emotion: happy"
  • Sad face → Blue teardrop, "Emotion: sad"

Setup

  • Run in Google Colab with OpenCV and FER.
  • Requires haarcascade_frontalface_default.xml.

Demo

Happy
Emotion: Happy (0.99)
Sad
Emotion: Sad (0.65)

About

An OpenCV and FER-based tool (~70% accuracy) for face detection and emotion recognition, applying real-time filters (e.g., smiley for "happy") with emotion text display. Inspired by Snapchat.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published