Giter VIP home page Giter VIP logo

shrimantasatpati / facial-emotion-recognition-deepface-streamlit Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 21 KB

This project implements real-time facial emotion detection using the deepface library and OpenCV. It captures video from the webcam, detects faces, and predicts the emotions associated with each face. The emotion labels are displayed on the frames in real-time.

Python 100.00%
deepface opencv python streamlit video face-emotion-recognitions

facial-emotion-recognition-deepface-streamlit's Introduction

Facial-Emotion-Recognition-DeepFace-StreamLit

  • This project implements real-time facial emotion detection using the deepface library and OpenCV.
  • It captures video from the webcam, detects faces, and predicts the emotions associated with each face. The emotion labels are displayed on the frames in real-time.
  • to implement realtime emotion monitoring.
  • Created a streamLit application for the facial emotion recognition of human faces.
  • Give this repository a ⭐ if you liked it, since it took me time to understand and implement this
  • Made with ❤️ by Shrimanta Satpati

Dependencies

  • deepface: A deep learning facial analysis library that provides pre-trained models for facial emotion detection. It relies on TensorFlow for the underlying deep learning operations.
  • OpenCV: An open-source computer vision library used for image and video processing.

Usage

Initial steps:

  • Git clone this repository Run: git clone https://github.com/shrimantasatpati/Facial-Emotion-Recognition-DeepFace-StreamLit.git
  • Run: Facial-Emotion-Recognition-DeepFace-StreamLit
  1. Install the required dependencies:
    • You can use pip install -r requirements.txt
    • Or you can install dependencies individually:
      • pip install deepface
      • pip install opencv-python
  2. Run the code:
    • Execute the Python script.
    • The webcam will open, and real-time facial emotion detection will start.
    • Emotion labels will be displayed on the frames around detected faces. (Using the DeepFace extended models to predict age, emotions, gender and racial identity of the persons.)

StreamLit

  • Local Deployment on StreamLit framework. Screenshot (48) Screenshot (49) Screenshot (50)

facial-emotion-recognition-deepface-streamlit's People

Contributors

shrimantasatpati avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.