nasrmem commited on
Commit
45556c8
·
1 Parent(s): c47f916

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -16
README.md CHANGED
@@ -1,22 +1,24 @@
1
- # Model Title
2
- BioSafe - Facial Liveness Detection for Anti-Spoofing.
 
 
 
 
 
 
 
 
3
 
4
- ## Model Description
5
- This model is designed to detect and differentiate between genuine human faces and spoofed faces in images. It's aimed at enhancing security in systems where facial recognition is used by identifying attempts to trick the system using photographs, videos, or masks.
6
-
7
- ## Model Architecture
8
- The model is based on the ResNet-50 architecture, a 50-layer deep convolutional neural network. It has been fine-tuned for the specific task of facial liveness detection. The network employs a combination of convolutional layers, pooling layers, and fully connected layers, with a final sigmoid activation function for binary classification (genuine or spoofed).
9
 
10
- ## Training Data
11
- The model was trained on a dataset consisting of approximately 17,500 frames, with a mix of genuine and spoofed facial images. The spoofed images include various types of attacks like photographs and video replays.
12
 
13
- ## Training Procedure
14
- The model was trained using transfer learning, where the ResNet-50 base was initialized with ImageNet weights. The top layers were customized and trained on our dataset. We used a binary cross-entropy loss function and the Adam optimizer. Training was performed with early stopping to prevent overfitting.
15
 
16
- ## Intended Use
17
- This model is intended for use in systems where facial recognition is a component of authentication or security processes. It can help in distinguishing between actual users and spoofed attempts, enhancing overall system security.
 
18
 
19
  ## Limitations and Bias
20
- The model's effectiveness may vary across different demographic groups depending on the representation in the training data.
21
- Performance might be lower in real-world scenarios with varying lighting, angles, and image quality compared to the controlled conditions of the training data.
22
- The model may struggle with very sophisticated spoofing techniques not represented in the training set.
 
1
+ ---
2
+ title: Facial Liveness Detection
3
+ emoji: 🚫
4
+ colorFrom: red
5
+ colorTo: green
6
+ sdk: gradio
7
+ sdk_version: 3.14.0
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
 
 
 
 
 
 
12
 
13
+ # Facial Liveness Detection
14
+ This Gradio app demonstrates a facial liveness detection model that can differentiate between real human faces and spoofed faces.
15
 
16
+ ## Model Description
17
+ This model is trained to determine the authenticity of faces in images, aiming to prevent spoofing attacks in systems where facial recognition is a part of the security process.
18
 
19
+ ## How to Use the App
20
+ 1. Use the webcam to capture your image or upload an image using the interface.
21
+ 2. The app will process the image and display it with a label indicating whether the face is real or spoofed.
22
 
23
  ## Limitations and Bias
24
+ The model's performance may vary across different demographic groups and is dependent on the quality and diversity of the training data.