GithubHelp home page GithubHelp logo

lihuibng / arcface-multiplex-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 1996scarlet/arcface-multiplex-recognition

0.0 1.0 0.0 254.49 MB

适用于复杂场景的人脸识别身份认证系统

Shell 0.04% JavaScript 10.88% C++ 0.16% Python 72.02% CSS 1.90% Cuda 5.63% Makefile 0.28% HTML 2.08% Cython 7.00%

arcface-multiplex-recognition's Introduction

Real-Time ArcFace Multiplex Recognition

Face Detection and Recognition using RetinaFace and ArcFace, can reach nearly 24 fps at GTX1660ti.

ArcFace Demo

How to run

  • Install yarn
    • sudo apt install curl
    • curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    • echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
    • sudo apt update && sudo apt install yarn
  • Electron Node-JS Client
    • cd electron-client
    • yarn or npm install
    • yarn start or npm start
  • Build R-CNN for Retina Face
    • cd ..
    • chmod a+x ./build_darknet_and_rcnn.sh
    • ./build_rcnn.sh
  • Python Deal
    • python3 usb_camera.py -c X e.g: Replace X with 0
    • Click the corresponding Camera {X} Button at Electron

How to train mlp classifier

  • mkdir ./Temp/raw

  • mkdir ./Temp/train_data

  • Place training pictures in the following format:

    ─── train_data
        ├── bush
        │   ├── 1559637960.1595788.jpg
        │   ├── 1559637960.1762984.jpg
        │   └── 1559637960.2001894.jpg
        ├── clinton
        │   ├── 1559637960.2104468.jpg
        │   ├── 1559637960.2225769.jpg
        │   └── 1559637960.281161.jpg
        └── obama
            ├── 1559637960.2940397.jpg
            ├── 1559637960.31212.jpg
            └── 1559637960.3381834.jpg
  • python3 train_mlp.py

ArcFace Video Demo

ArcFace Demo

Please click the image to watch the Youtube video. For Bilibili users, click here.

RetinaFace Introduction

RetinaFace is a practical single-stage SOTA face detector which is initially described in arXiv technical report

demoimg1

demoimg2

Verification

LResNet100E-IR network trained on MS1M-Arcface dataset with ArcFace loss:

Method LFW(%) CFP-FP(%) AgeDB-30(%)
Ours 99.80+ 98.0+ 98.20+

Citation

If you find InsightFace useful in your research, please consider to cite the following related papers:

@inproceedings{deng2019retinaface,
    title={RetinaFace: Single-stage Dense Face Localisation in the Wild},
    author={Deng, Jiankang and Guo, Jia and Yuxiang, Zhou and Jinke Yu and Irene Kotsia and Zafeiriou, Stefanos},
    booktitle={arxiv},
    year={2019}
}

@inproceedings{deng2018arcface,
    title={ArcFace: Additive Angular Margin Loss for Deep Face Recognition},
    author={Deng, Jiankang and Guo, Jia and Niannan, Xue and Zafeiriou, Stefanos},
    booktitle={CVPR},
    year={2019}
}

arcface-multiplex-recognition's People

Contributors

dependabot[bot] 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.