Code Monkey home page Code Monkey logo

anti-spoofing-of-rppg's Introduction

anti-spoofing-of-rppg

the implement of 3D Mask Face Anti-spoofing with Remote Photoplethysmography

English|δΈ­ζ–‡ )

Introduction of project

  • config.py

    • Contains all the settings we need to configure
  • rPPG_GUI.py

    • Entry function
    • ompleted the design of GUI interface
    • Detect if it is spoofing(Just a simple judgment, there is no data set, so SVM training is not used.)
  • rPPG_preprocessing.py

    • Image preprocessing, face detection
  • rPPG_processing_realtime.py

    • Extract rppg signals by fftlength's preprocessed photos
  • rPPG_Extracter.py

    • Take a picture and detect the face, then count he RGB components of the face and find the average, finally cache them in self.rPPG
  • FaceDetection.py

    • Face detection, we uses key point detection function of it
  • Processing

    • Run the program (rPPG_GUI.py) to collect photos by camera or video collected , perform face detection on the photos (rPPG_preprocessing.py), and extract the average of RGB components (rPPG_Extracter.py). After preprocessing specified number (fftlength) photos, perform fft analysis and extraction rppg signal (rPPG_processing_realtime.py). Sliding window continuously extracts the signal and displays
  • Run

    • Check if your camera is working by cheese command in linux bash
    • Configure config.py
    • run rPPG_GUI.py
  • run rPPG_GUI.py

    • python3 rPPG_GUI.py
  • reference

    • Remote Photoplethysmography Correspondence Feature for 3D Mask Face Presentation Attack Detection
    • Generalized face anti-spoofing by detecting pulse from face videos
  • the implement of Face Anti-Spoofing Using Patch and Depth-Based CNNs

anti-spoofing-of-rppg's People

Contributors

shicaiwei123 avatar

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.