Coder Social home page Coder Social 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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anti-spoofing-of-rppg's Issues

关于此项目,理论知识从哪获取? 文献吗?

我读了一些文献,主流步骤还是 :ROI检测与追踪》》通道融合(盲源分流、pos、chrom等)》》信号处理(fft+巴特沃斯滤波)》》心率提取 感觉精度的提升关键步骤是通道融合部分和信号处理,您怎么认为??

How to run the codes?

Hi,do you run the codes in unix system?i don't find pwd module in windows system.

where is the result of HR?

the UI doesn't shoe the result of HR, so where is the result? And the window of camera is so jam, how to solve it?

README

Hi, thanks for sharing your code, could you update README on how to run, train and test your method. Thanks

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.