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

Feature Request: Implement Face Liveliness and Anti-Spoofing Mechanism #139

Merged
merged 7 commits into from
Oct 8, 2024

Conversation

pratikwayal01
Copy link
Contributor


Pull Request Title:

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

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.

Pratik Wayal and others added 2 commits October 7, 2024 21:25
Copy link

github-actions bot commented Oct 7, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link
Owner

@UppuluriKalyani UppuluriKalyani left a comment

Choose a reason for hiding this comment

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

@pratikwayal01 can you please show results here and also attach in readme file.

@UppuluriKalyani UppuluriKalyani merged commit 8321f7f into UppuluriKalyani:main Oct 8, 2024
1 check passed
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.

2 participants