Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face Liveness Detection System Using Profile and Blink Detection #910

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

pratikwayal01
Copy link


Pull Request Title:

Add Face Liveness Detection System Using Profile and Blink Detection
Issue Number - #904

Description:

This pull request implements a Face Liveness Detection System that leverages profile detection and blink detection techniques. The goal is to verify whether a user is physically present during the authentication process by analyzing their facial features and eye blinks.

Changes Made:

  • Implemented profile detection using Haar Cascade classifiers for frontal and profile face detection.
  • Integrated blink detection using Dlib's shape predictor to calculate the Eye Aspect Ratio (EAR).
  • Developed a user interface that prompts users to turn their faces and blink.
  • Added a README file explaining the methodology, how to run the main file, and project structure.
  • Included a requirements.txt file with necessary dependencies.

Methodology:

  1. Profile Detection: Utilizes Haar Cascade classifiers to detect frontal and profile faces.
  2. Blink Detection: Employs Dlib's shape predictor to monitor eye blinks based on the EAR threshold.
  3. User Interaction: Prompts the user for specific actions (turning and blinking) to confirm liveness.

How to Test:

  1. Ensure the necessary XML and DAT files are placed in the dataset/ directory.
  2. Run the main.py file to initiate the detection process.
  3. Follow the prompts on the screen for liveness detection.

Copy link

Our team will soon review your PR. Thanks @pratikwayal01 :)

@pratikwayal01
Copy link
Author

Hello @abhisheks008 please mege my PR

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Project folder name should be Face Liveness Detection System [No hyphen "-" is required].
  2. Follow the project structure and put your files accordingly.
Project Folder
|- Dataset
   |- dataset.csv (dataset used for the particula project)
   |- README.md (brief about the dataset)
|- Images
   |- img1.png
   |- img2.png
   |- img3.png
|- Model
   |- project_folder.ipynb
   |- README.md
|- requirements.txt
  1. Model/README.md template: https://github.com/abhisheks008/DL-Simplified/blob/main/.github/readme_template.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Implement Face Liveliness and Anti-Spoofing Mechanism
2 participants