GithubHelp home page GithubHelp logo

prem95 / realtime-face-anti-spoofing Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 0.0 46.25 MB

Realtime Face Anti Spoofing with Face Detector based on Deep Learning using Tensorflow/Keras and OpenCV

License: MIT License

Python 67.89% Shell 0.19% Cython 7.84% C++ 18.96% CMake 0.28% C 4.83%
face-recognition face-anti-spoofing face-detector keras keras-tensorflow computer-vision tensorflow python opencv liveness-detection

realtime-face-anti-spoofing's Introduction

Realtime Face Anti-Spoofing Detection ๐Ÿค–

Python Ubuntu TensorFlow Forks Stargazers contributions welcome

Contact [email protected] to request the sample model file and utility folder

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0] - 28/12/2021

  • First commit

Why Build This? ๐Ÿค”

Face anti-spoofing systems has lately attracted increasing attention due to its important role in securing face recognition systems from fraudulent attacks. This project aims to provide a starting point in recognising real and fake faces based on a model that is trained with publicly available dataset

Where to use? ๐Ÿ”จ

This Face Anti Spoofing detector can be used in many different systems that needs realtime facial recognition with facial landmarks. Potentially could be used in security systems, biometrics, attendence systems and etc.

Can be integrated with hardware systems for application in offices, schools, and public places for various use cases.

Datasets and Library ๐Ÿ“—

The model is trained using Tensorflow from publicly available datasets. Below listed are the data sources that the model is trained on:

CASIA: https://github.com/namtpham/casia2groundtruth

OULU: https://sites.google.com/site/oulunpudatabase/

Please obtain the necessary permissions before using the datasets as above.

Prerequisites โ˜”

All the required libraries are included in the file requirements.txt. Tested on Ubuntu 20.04 with Python3.8.

Installation ๐Ÿ’ป

  1. Clone the repo
$ git clone https://github.com/Prem95/face-liveness-detector.git
  1. Change your directory to the cloned repo
$ cd face-liveness-detector
  1. Run the following command in your terminal
$ pip install -r requirements.txt
  1. Build the Face Detector library
$ cd face_det
$ sh build.sh

Usage โšก

Run the following command in your terminal

$ python3 main.py

Contribution โšก

Feel free to file a new issue with a respective title and description on the the face-liveness-detector repository.

Feature Request โšก

Please also submit a pull request for any issues that might appear or any enhancements/features that could make this project perform better. I would love to review your pull request!

Code of Conduct ๐Ÿ‘

You can find our Code of Conduct here.

License ๐Ÿ‘

All rights reserved according to MIT ยฉ Prem Kumar

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.