Giter Site home page Giter Site logo

ldcnet's Introduction

LDCNet

Learnable Descriptive Convolutional Network for Face Anti-Spoofing (BMVC'22)

Feature maps extracted by LDC

Screenshot Generate by Low_level_features_visualization.py

Learnable Descriptive Convolution

Screenshot Screenshot

Network Architecture

Screenshot

Requirements

grad_cam==1.3.5
matplotlib==3.5.2
numpy==1.22.3
scikit_learn==1.1.2
torch==1.12.0
torchvision==0.13.0

Training

Step 1: run Amap_train.py to get pretrained model for producing activation map

Step 2: run train.py to train LDCNet

Testing

run test.py

More visualization: Feature maps extracted by LDC

Live images:

Screenshot Screenshot Screenshot Screenshot

Print images (grid artifacts):

Screenshot Screenshot Screenshot Screenshot

Replay images (moiré patterns):

Screenshot Screenshot Screenshot Screenshot

Citation

If you use the LDC, please cite the paper:

@article{huang2022learnable,
  title={Learnable Descriptive Convolutional Network for Face Anti-Spoofing},
  author={Huang, Pei-Kai and Ni, Hui-Yu and Ni, Yan-Qin and Hsu, Chiou-Ting},
  year={2022}
}

ldcnet's People

Contributors

huiyu8794 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.