Git Product home page Git Product logo

a-convolutional-neural-network-cascade-for-face-detection's Introduction

A Convolutional Neural Network Cascade for Face Detection

This repo is re-implementation of the paper in TensorFlow.

Start

Preparing data

  1. Download AFLW dataset (positive) and COCO dataset (negative) for training. Any other dataset can be used instead of COCO datset for negative one.

  2. Download FDDB dataset for testing.

  3. Run data_parse.py in the dataGen folder before training and testing network.

Training classification net

12-net: python train_12net.py

24-net: python train_24net.py

48-net: python train_48net.py

Training calibration net

12-calib net: python train_calib.py 12

24-calib net: python train_calib.py 24

48-calib net: python train_calib.py 48

Hard negative mining(save hard neg db to disk in neg_train/neg_hard/)

hard neg db to train 24-net: python hard_neg_mining.py 24

hard neg db to train 48-net: python hard_neg_mining.py 48

Test

python test.py

Implementation

Implemented with TensorFlow and yields similar result with paper

training set: AFLW dataset(positive), COCO dataset(negative)

test set: FDDB dataset

Result(gren: GT, blue: detected face)

face

2 5 3 1 8 7 6 4 9 10

a-convolutional-neural-network-cascade-for-face-detection's People

Contributors

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