Coder Social home page Coder Social logo

dreadlord1984 / deepface-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zumbalamambo/deepface

0.0 3.0 0.0 85.71 MB

Deep Learning Models for Face Detection/Recognition/Alignments, implemented in Tensorflow

License: MIT License

Python 97.21% Shell 2.79%

deepface-1's Introduction

deepface

blackpink with deepface(vgg model)

Deep Learning Models for Face Detection/Recognition/Alignments, implemented in Tensorflow.

It is being implemented...

Main Contributers

@ildoonet @kimdwkimdw @hahahahannie @jaehobang

Models

Baseline

A baseline model use dlib face detection module to crop rois. Then they will be forwarded at the vggface network to extract features.

Experiments

LFW Dataset

Detector Recognition Model Description Set 1-EER Accuracy
VGG Paper, No Embedding, Trained Test 0.9673
VGG Paper, Embedding, Trained Test 0.9913
dlib VGG no embedding, no training on lfw Test 0.9400 0.936
dlib VGG2-Resnet no training on lfw Test 0.9680 0.949
SSD
Mobilenet-v2
VGG2-Resnet no training on lfw Test 0.990 0.973

Install

Requirements

  • tensorflow >= 1.8.0
  • opencv >= 3.4.1

Install & Download Models

$ pip install -r requirements.txt
$ cd detectors/dlib
$ bash download.sh
$ cd ../../recognizers/vggface/
$ bash download.sh
$ cd ../resnet/
$ bash download.sh

Run

Test on samples

$ python bin/run_example.py run --source_path=./samples/faces --db_path=./sample_db.pkl --img_path=./samples/blackpink/blackpink1.jpg --method=vgg2

Test on a image

$ python bin/face.py run --visualize=true --image=./samples/blackpink/blackpink1.jpg

Reference

Models

[1] VGG Face : http://www.robots.ox.ac.uk/~vgg/software/vgg_face/

[2] VGG Face in Tensorflow : https://github.com/ZZUTK/Tensorflow-VGG-face

[3] DLib : https://github.com/davisking/dlib

[4] Dlib Guide Blog : https://www.pyimagesearch.com/2017/04/03/facial-landmarks-dlib-opencv-python/

[5] VGG Face 2 Project : https://www.robots.ox.ac.uk/~vgg/data/vgg_face2/

[6] Kera VGG Face2 : https://github.com/rcmalli/keras-vggface

Datasets

[1] LFW : http://vis-www.cs.umass.edu/lfw/

deepface-1's People

Contributors

hahahahannie avatar ildoonet avatar jaehobang avatar kimdwkimdw avatar

Watchers

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