Skip to content

NotAProPilot/FacialVerificationApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tired of manually verifying faces aganist ID manually? Here, as a part of the Image Processing and Recognition class, we improvise an advanced facial recognition that could be deployed quickly on any machine with a Python enviroment.

Features

This script can automatically verifying in real-time a face and comparing against an uploaded photo ID (passport, driver license, student ID, etc).

How the script works

The script works in 3 stages:

  1. Automatically detecting facial features from photo ID using OpenCV built-in classifier
  2. Automatically capturing and extracting real-time facial data
  3. Comparing extracted facial features from photo ID and real-time data using [DeepFace] image

Installation guide

  1. Clone the repo or download the repo as zip file. (IMPORTANT: Running only the Main.py or GUI.py will result in error, see Program Structure for more information)
  2. Install the following librabies:

Usage guide

  1. Run the program from GUI.py.
  2. A pop-up will appear as follows: image
  3. Click on the "Upload Photo" button to upload a photo ID. image
  4. Click on the "Capture Photo from Webcam" to continue.
  5. The webcam will open. Look straight at the webcam. When ready, press Enter to continue.
  6. Press "Verify" to complete the process.

Known issues

  1. Why the program does not work well when I wear glasses? The program does not work well when comparing faces with and without glasses. This problem is most likely happend if you use an ICAO 9303-compliant document issued after 2016, such as passport or enhanced driver license.

About

A lightweight yet powerful real-time facial verification app against photo ID.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages