Git Product home page Git Product logo

cnn-facekeypoint-detection's Introduction

FaceKeyPoint Detection

A reimplementation of the paper Deep Convolutional Network Cascade for Facial Point Detection.

Data

Download the images and extract to dataset with train and test.

level1.py, level2.py, level3.py under dataset are the codes to gengrate the specific formate *.h5 file for Caffe models.

Train

generate.py, *.template under prototxt are the code and template to generate prototxt files for Caffe models.

./level.pywill train the CNNs and use the mutilprocess to train level-2 and level-3. It will train every CNN seperately.

Test

run.py under test use Caffe model to predict data.

test.py under test use Caffe model to predict keypoints and evaluate the mean error.

show_w&fea.oy under test are the code to visualize the filiters and feature maps.

density_plot.pyunder test are the code to polt the test-results density picture.

Models

All model files generated by Caffe are under model, It contains all the check points intermediate results and the final *.caffe.

Logs

All the results generated on the test images. Including mean-error, Feature map and Filiters Pictures.

References

  1. Caffe
  2. Deep Convolutional Network Cascade for Facial Point Detection
  3. deep landmark

cnn-facekeypoint-detection's People

Contributors

xingyuxie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cnn-facekeypoint-detection's Issues

Question

When I train the model, which is entered. / Bootstrap.sh always show sh: 1: caffe not found, what is the problem? How to deal with it?

I want to ask some questions

Respected Xingyu Xie:
Hello, I am a postgraduate student studying deep learning, also studying face feature point detection, and downloaded your source code for training, I would like to ask you some questions, I really need your help, thank you!Here are my questions:

  1. Why is level2 better than level3 in the model I trained?
  2. Now it is detection of five feature points. I want to add two more feature points.
    Would it be convenient for you to give me your mailbox?I have some code questions to ask you.
    Thanks again!

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.