Jeevan-HM / Real-V-S-Spoofed-Face-Classification

This model tells if the image of a face captured is real or spoofed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real v/s Fake/Spoffed Face Detection

The aim of this project is to differentiate between a Real and Fake Face.

  • Real Face :

    Real Faces are those where an actual person is detected and is not a part of an inanimated object such as a smartphone.
  • Fake/Spoofed Face :

    Fake/Spoffed Face are the photos of a person shown from inanimated objects like a Phone, ID Card etc. shown to the Camera.

NOTE : This project is built on Python3.8

Installing the requirements

pip -m install -r requirements.txt

OR

pip3 install -r requirements.txt

Running code

python3 face_detection.py

Input for Program

  • After runing the above command, the webcam will turn on. To capture the picture press "q", program will capture the frame as the input and predict if the detected face is Real/Spoofed.

Reference

About

This model tells if the image of a face captured is real or spoofed


Languages

Language:Python 100.0%