Coder Social home page Coder Social logo

delongsh / rlecc Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 41.46 MB

Face Template Protection Through Residual Learning Based Error-Correctinig Codes

License: MIT License

Python 68.37% MATLAB 31.63%
face-template-protection residual-learning biometrics

rlecc's Introduction

This repository is code for our paper Face Template Protection Through Residual Learning Based Error-Correcting Codes.

Introduction

This code aims to implement a face template protection technique by using residual learning, which maps the facial images into low-density parity-check (LDPC) codewords. This implementation is based on PyTorch. In this paper, we use the LDPC coding algorithm developed by Radford M. Neal. The trained CNN model on extended Yale Face B with d = 256 can be downloaded.

Directory

Root

${ROOT}
|-- labels
|-- load_datasets
|-- models
|-- process_res
|-- split
|-- test_images
main-test.py
utils.py
requirements.txt
  • labels: LDPC codewords for different face databases
  • load_datasets: Load face images
  • models: Define CNN architecture
  • process_res: Process the predicted binary codes
  • split: Store different orders for face database
  • test_images: Store test images, download .

Database

The databases used in our paper contain extended Yale Face B, PIE and FEI Database.

Requirements

Install python packages

pip install -r requirements.txt

Running

python main-test.py -r 11-04-13-20 --seed 1 --dataset yaleB --ldpc-len 256 --dataset-seed 0 -t 38 0 --epochs 50 --batch-size 256

More Info

rlecc's People

Contributors

delongsh avatar qxcssdl avatar

Stargazers

 avatar  avatar

Watchers

 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.