GithubHelp home page GithubHelp logo

ldcnet's Introduction

LDCNet

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}
}

Contact us

We are students from MPLAB at National Tsing Hua University.
Huang, Pei-Kai [email protected]
Ni, Hui-Yu [email protected]
Chong, Jun-Xiong [email protected]

ldcnet's People

Contributors

huiyu8794 avatar pei-kaihuang avatar

Stargazers

Yanwei Liu avatar Gábor Tóth avatar pychego avatar  avatar Xiaobing Han avatar  avatar CHAmpDH avatar  avatar Chen Yu avatar  avatar SunForlight avatar JinfengZhang avatar  avatar Hesitate avatar  avatar

Watchers

 avatar

ldcnet's Issues

Pretrained LDCNet

Hi,

I see the pretrained model you provide is for visualization, could you provide the weights of your LDCNet model?

Thank you

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.