All Projects → RenMin1991 → Dyamic_Graph_Representation

RenMin1991 / Dyamic_Graph_Representation

Licence: other
Official Dynamic Graph Representation PyTorch implement for iris/face recognition

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dyamic Graph Representation

bob
Bob is a free signal-processing and machine learning toolbox originally developed by the Biometrics group at Idiap Research Institute, in Switzerland. - Mirrored from https://gitlab.idiap.ch/bob/bob
Stars: ✭ 38 (+72.73%)
Mutual labels:  feature-extraction, biometrics, face-recognition
sourceafis-net
Fingerprint recognition engine for .NET that takes a pair of human fingerprint images and returns their similarity score. Supports efficient 1:N search.
Stars: ✭ 43 (+95.45%)
Mutual labels:  feature-extraction, biometrics
DeepLearning-Gdansk2019-tutorial
Ordinal Regression tutorial for the International Summer School on Deep Learning 2019
Stars: ✭ 66 (+200%)
Mutual labels:  biometrics, face-recognition
Iris-Recognition
An Iris recognition system, implemented in Matlab and Python.
Stars: ✭ 102 (+363.64%)
Mutual labels:  biometrics, iris-recognition
Face.evolve.pytorch
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥
Stars: ✭ 2,719 (+12259.09%)
Mutual labels:  feature-extraction, face-recognition
Computer Vision Guide
📖 This guide is to help you understand the basics of the computerized image and develop computer vision projects with OpenCV. Includes Python, Java, JavaScript, C# and C++ examples.
Stars: ✭ 244 (+1009.09%)
Mutual labels:  feature-extraction, face-recognition
FaceLivenessDetection-SDK
3D Passive Face Liveness Detection (Anti-Spoofing) & Deepfake detection. A single image is needed to compute liveness score. 99,67% accuracy on our dataset and perfect scores on multiple public datasets (NUAA, CASIA FASD, MSU...).
Stars: ✭ 85 (+286.36%)
Mutual labels:  biometrics, face-recognition
face-swap
换脸程序
Stars: ✭ 32 (+45.45%)
Mutual labels:  face-recognition
CS-663
Assignment Codes for CS663 Digital Image Processing
Stars: ✭ 15 (-31.82%)
Mutual labels:  face-recognition
formulas-python
Ritchie CLI formulas in Python 🐍
Stars: ✭ 17 (-22.73%)
Mutual labels:  face-recognition
opensmile
The Munich Open-Source Large-Scale Multimedia Feature Extractor
Stars: ✭ 280 (+1172.73%)
Mutual labels:  feature-extraction
fastknn
Fast k-Nearest Neighbors Classifier for Large Datasets
Stars: ✭ 64 (+190.91%)
Mutual labels:  feature-extraction
MixingBear
Package for automatic beat-mixing of music files in Python 🐻🎚
Stars: ✭ 73 (+231.82%)
Mutual labels:  feature-extraction
pigallery
PiGallery: AI-powered Self-hosted Secure Multi-user Image Gallery and Detailed Image analysis using Machine Learning, EXIF Parsing and Geo Tagging
Stars: ✭ 35 (+59.09%)
Mutual labels:  face-recognition
Deep-Learning
This repo provides projects on deep-learning mainly using Tensorflow 2.0
Stars: ✭ 22 (+0%)
Mutual labels:  feature-extraction
FaceClassification Tensorflow
Building a Neural Network that classifies faces using OpenCV and Tensorflow
Stars: ✭ 37 (+68.18%)
Mutual labels:  face-recognition
RealSenseID
Intel® RealSense™ ID SDK
Stars: ✭ 67 (+204.55%)
Mutual labels:  face-recognition
AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction
This is a Human Attributes Detection program with facial features extraction. It detects facial coordinates using FaceNet model and uses MXNet facial attribute extraction model for extracting 40 types of facial attributes. This solution also detects Emotion, Age and Gender along with facial attributes.
Stars: ✭ 48 (+118.18%)
Mutual labels:  face-recognition
shunyaface
Fast Face Recognition on the edge
Stars: ✭ 49 (+122.73%)
Mutual labels:  face-recognition
ElasticFace
Official repository for ElasticFace: Elastic Margin Loss for Deep Face Recognition
Stars: ✭ 86 (+290.91%)
Mutual labels:  face-recognition

Dynamic_Graph_Representation

This is the code of AAAI paper 《Dynamic Graph Representation for Occlusion Handling in Biometrics》

We propose a novel unified framework integrated the merits of both CNNs and graphical models to learn dynamic graph representations for biometrics ercognition, called Dynamic Graph Representation (DGR). Convolutional features onto certain regions are re-crafted by a graph generator to establish the connections among the spatial parts of biometrics and build Feature Graphs based on these node representations. Each node of Feature Graphs corresponds to a specific part of the input image and the edges express the spatial relationships between parts. By analyzing the similarities between the nodes, the framework is able to adaptively remove the nodes representing the occluded parts. During dynamic graph matching, we propose a novel strategy to measure the distances of both nodes and adjacent matrixes. In this way, the proposed method is more convincing than CNNs-based methods because the dynamic graph method implies a more illustrative and reasonable inference of the biometrics decision.

arch

The proposed framework

arch

Usage Instructions

Requirments

python == 3.7

pytorch == 1.1.0

torchvision == 0.3.0

Training

Data preparing

The recognition model is trained by normalized iris images. All of your training images should be stored in one folder. The labels should be recorded by a .txt file. Image names are followed by labels in the label file. One row per image.

An example of label file:

arch

Start Training

configs/config_train_singlescale.pyto set the configurations of training.

train_singlescale.py to begin training.

Feature extraction

Pretrained model can be downloaded from Baidu Netdisk, code: g3sn

configs/config_FE.pyto set the configurations of feature extraction.

feature_extraction_singlescale.py to extract features.

Test

configs/config_test.pyto set the configurations of test.

test.py to test.

Performance

iris recognition

Dataset ND-LG4000 CASIA-Distance CASIA-M1S2 CASIA-Lamp
FRR@FAR=0.01% 3.02% 6.94% 6.57 5.92%
EER 0.62% 1.71% 0.76% 0.61%

face recognition

arch

The pretrained model of face recognition is not available because of intellectual property policies. But you can train your own model according to our codes.

Update

Multi-scale strategy is integrated into the DGR. The representations of nodes from one single layer can only ingest contexts from receptive fields of the same size. Thus, the multiscale strategy is further incorporated to attain more diverse nodes representing regions of various sizes. The primitive FG is subsequently reorganized in a hierarchical manner for escalated DGM. Feature graphs are generated from feature maps of different layers. Multiscale content representations and topological structures, which are contained in multiscale feature graphs, are summarized together in the framework of our multiscale dynamic graph representation. Node features yielded from different layers correspond to different scales of local regions of the input image. Edges from different layers represent topological structures of different scales. Hence, the features contained in multiscale feature graphs representation are much more abundant than those in single-scale representation.

arch

The training, feature extraction and test are similar with its the single-scale counterpart.

Citation

If you find DGR useful in your research, please consider to cite:

@inproceedings{ren2020dynamic,
  title={Dynamic Graph Representation for Occlusion Handling in Biometrics.},
  author={Ren, Min and Wang, Yunlong and Sun, Zhenan and Tan, Tieniu},
  booktitle={AAAI},
  pages={11940--11947},
  year={2020}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].