Code Monkey home page Code Monkey logo

yolokerasfacedetection's Introduction

Yolo Keras Face Detection

Implement Face detection, and Age and Gender Classification, and Emotion Classification.

(image from wider face dataset)

Overview

Functions

Face Detection (Darknet , Caffe)

Age Classification (Keras)

Gender Classification (Keras)

Emotion Classification (Keras)

Requirements

Keras2 + Tensorflow

Darknet

Caffe

OpenCV

Python 2.7

Perl

Implement Environment

Mac Pro 2013 (Xeon)

MacOS X 10.12

Demo

Pretrained Model

Age and Gender Classification

https://gist.github.com/GilLevi/c9e99062283c719c03de

Download gender_net.caffemodel, gender_net.prototxt, age_net.caffemodel and age_net.prototxt.

Put in pretain folder.

Face Detection

Converted from https://github.com/dannyblueliu/YOLO-version-2-Face-detection

http://www.abars.biz/keras/face.prototxt

http://www.abars.biz/keras/face.caffemodel

Download face.prototxt and face.caffemodel.

Put in pretain folder.

Emotion Detection

Converted from https://github.com/oarriaga/face_classification

http://www.abars.biz/keras/emotion_miniXception.prototxt

http://www.abars.biz/keras/emotion_miniXception.caffemodel

Download emotion_miniXception.prototxt and emotion_miniXception.caffemodel.

Put in pretain folder.

Pretrained Model Demo

Here is a run using reference model .

python agegender_demo.py caffe

How to train using Keras and Darknet

Here is a training tutorial.

https://github.com/abars/YoloKerasFaceDetection/blob/master/TRAIN.md

Here is a experimental training tutorial.

https://github.com/abars/YoloKerasFaceDetection/blob/master/TRAIN_EXPERIMENTAL.md

Related Work

https://github.com/oarriaga/face_classification

https://gist.github.com/GilLevi/54aee1b8b0397721aa4b

https://www.openu.ac.il/home/hassner/projects/cnn_agegender/

https://github.com/dpressel/rude-carnie

https://how-old.net/

yolokerasfacedetection's People

Contributors

abars avatar

Watchers

James Cloos avatar Phạm Duy Tùng 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.