Giter Site home page Giter Site logo

twistedmove / face-id-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhangxu0307/face-id-backend

0.0 1.0 0.0 9.11 MB

This is demo of face recoginition system backend, based on openface, django-rest, dlib and opencv, img encoded in base64

Python 95.61% MATLAB 4.39%

face-id-backend's Introduction

face-id-backend

This is demo of face recoginition system backend. We heavily depend on some open source code, test on some implementations on benchmark dataset and finally we integrate them into our backend system.

Frontend is developed by Gao Zhongye.

Requirements

  • Anaconda 5.0 Python 3.6.0
  • Pytorch 0.2.0
  • tensorflow 1.2.0
  • keras 2.1.2
  • openface
  • dlib 19.7.0
  • django 1.11.7
  • djangorestframework 3.7.3

Code Structure

The project is mainly based on Django project structure.

  • face_algorithm: core face recognition algoritm
  • face_id_backend: django configuration
  • face_recognition: django app
  • media: face img and feature vector file
  • test_json: json files, used in testing communication
  • manage.py
  • README.md

face algorithm

  • center loss: untrained
  • facenet tensorflow version: on testing
  • joint bayes: train on openface and VGGface feature vector
  • light cnn: on testing
  • MTCNN keras version: conflict with TensorFlow
  • MTCNN pytorch version: implement with sphereface
  • saim 2-channel CNN: untrained
  • sphereface pytorch version: test on LFW successfully
  • VGG face keras version: implement on django system, current best
  • openface: implement on django system
  • dlib align: implement on django system

Dataset

LFW usage

Usage

Start Django service

cd face_id_backend
python manage.py runserver 0.0.0.0:8888

test on LFW

cd face_id_backend/face_algoritm
python lfw.py

you need to modify code and specify model you want to test, we will add argparser in the future.

Reference

Papers

Open source Code

Concat

[email protected]

face-id-backend's People

Contributors

zhangxu0307 avatar

Watchers

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