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

Implement Face Liveliness and Anti-Spoofing Mechanism #1020

Closed

Conversation

priyanshu596
Copy link

@priyanshu596 priyanshu596 commented Mar 1, 2025

Pull Request for DL-Simplified
Issue Title: Implement Face Liveliness and Anti-Spoofing Mechanism
Info about the related issue: This PR implements a face liveliness and anti-spoofing mechanism using deep learning models. The goal is to enhance the security of face authentication systems by distinguishing real faces from spoofed attempts.
Name: Priyanshu Singh
GitHub ID: priyanshu596
Email ID: [email protected]
Identify yourself: WOC 4.0 Contributor
Closes: #904

Describe the add-ons or changes you've made
Implemented a face liveliness detection model using XceptionNet trained on the LFASD dataset.
Applied data augmentation, k-fold cross-validation, weighted loss functions, and SMOTE to handle class imbalance issues.
Integrated Haar Cascade and Shape Predictor for face detection.
Enhanced the robustness of the model by fine-tuning hyperparameters and optimizing for real-time performance.
Created a Flask app to demonstrate real-time face anti-spoofing detection.
Type of change
New feature (non-breaking change which adds functionality)
Code style update (formatting, local variables)
This change requires a documentation update
How Has This Been Tested?
Tested on multiple real and spoofed face samples to evaluate model accuracy.
Performed cross-validation and analyzed model performance metrics like precision, recall, and F1-score.
Ensured the Flask app integrates seamlessly with the trained model for live detection.
Checklist:
My code follows the guidelines of this project.
I have performed a self-review of my own code.
I have commented my code, particularly wherever it was hard to understand.
I have made corresponding changes to the documentation.
My changes generate no new warnings.
I have tested the Flask application to ensure real-time functionality.

Copy link

github-actions bot commented Mar 1, 2025

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

@priyanshu596 priyanshu596 changed the title My feature branch Implement Face Liveliness and Anti-Spoofing Mechanism Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Face Liveliness and Anti-Spoofing Mechanism
1 participant