Coder Social home page Coder Social logo

ivonajdenkoska / face-recognition-algorithms Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 936 KB

Face recognition, tackling three different "old-school" Computer Vision techniques - as part of the Biometrics System Concepts course @ KU Leuven

Python 0.68% Jupyter Notebook 99.32%
face-recognition principal-component-analysis linear-discriminant-analysis local-binary-patterns computer-vision feature-extraction biometric-systems roc-curve auc-roc-score kuleuven biometrics face-identification

face-recognition-algorithms's Introduction

Face recognition algorithms

๐Ÿ‘ฅ This project was part of the assignments for Biometrics System Concepts course @ KU Leuven, for the academic year 2018/2019. The localmodules folder and parts of the algorithms were provided during the course.

Face recognition concernes the identifing or verifying a person's identity from an image or a video frame. It can be formulated as a classification problem, where the inputs are the images and the outputs are the identities of the people. This project analyses 3 traditional computer vision techniques for feature extraction in the context of face recognition:

  1. PCA (Principal Components Analysis)
  2. LDA (Linear Discirminant Analysis)
  3. LBP (Local Binary Patterns)

Data

The experiments are conducted using 3 different datasets:

  1. AT&T Faces dataset
  2. Labeled faces of the wild
  3. Caltech Faces dataset

Use the methods defined in localmodules/datasets.py to extract the faces.

Implementation

For each technique (PCA, LDA and LBP) we experiment with the 3 different datasets and we analyse an authentication and identification scenario. Firstly, we compute the similarity distances between two pairs of faces, by using the mentioned techniques for feature extraction from the image. If the distance is greater or equal to some predefined threshold, then the pair is labeled as a genuine, otherwise it is labeled as an impostor. Then, we look at the genuine impostor distributions and the F1 and accuracy scores for a range of different thresholds. We choose the most optimal threshold by analysing the plot of the F1 and accuracy scores. For the authentication scenarios we also report the Reciever Operating Characteristics (ROC) curves, whereas for the identification scenarios we report the Cumulative Matching Characteristics (CMC) curve.

The implementation is entierly done in Python (also using Scikit-learn and OpenCV) and the main flow of the project is assembled in the Jupyter notebook src/fingerprint-recognition.ipynb.

Overall evaluation

  1. Accuracy
  2. F1 score
  3. Averaged precision (AP) score
  4. Equal Error Rate (EER)
  5. Reciever Operating Characteristics (ROC) curve (TPR vs FPR)
  6. Area Under the curve (AUC) score
  7. Cumulative Matching Characteristics (CMC) curve

face-recognition-algorithms's People

Contributors

ivonajdenkoska avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

inibudi

face-recognition-algorithms's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.