Skip to content

Kurs05/Face-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-Analyzer using Dlib and DeepFace

This project detects human emotions from facial expressions using DeepFace, draws facial landmarks on the image using the dlib library, and stores the results in a local SQLite database. Note that the analysis results may contain inaccuracies, as no AI system is perfect.

Face-Analyzer.mp4

Technologies Used

  • Python 3.10 (with newer versions, it may not work!)
  • Django 5.2.4
  • OpenCV – for image preprocessing (optional, but useful)
  • DeepFace - for facial analysis and emotion detection
  • Dlib - for detection landmarks
  • SQLite - to store results in real-time

Installation

  1. Clone the repository
  2. Set up a virtual environment (recommended)
python -m venv env
source env/bin/activate  # On Windows: env\Scripts\activate
  1. Install dependencies
pip install -r requirements.txt

If the terminal prompts you to install a library, make sure to install it as well.

  1. Run Django server
py manage.py runserver
  1. Registration is required! Alternatively, you can log in using the admin credentials (email: admin@gmail.com, password: 123123).

Screenshots

image_2025-07-14_18-09-42 image_2025-07-14_18-10-56 image_2025-07-14_18-11-06 image_2025-07-14_18-11-13

Feel free to fork, modify, and submit a pull request. Happy coding!

About

Emotion Detection and Facial Recognition with libraries DeepFace and dlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published