Git Product home page Git Product logo

face_align_v1's Introduction

face_align_v1

Face alignment tool v1 2016.3

The provided tool is a quick implementation of the paper [1]. And this tool is implemented based on Caffe [2]. The example images in the folder "data" are selected from AFLW [3].

References:

[1] Shao Z, Ding S, Zhu H, et al. Face alignment by deep convolutional network with adaptive learning rate[C]//Acoustics, Speech and Signal Processing (ICASSP), 2016 IEEE International Conference on. IEEE, 2016.

[2] Jia Y, Shelhamer E, Donahue J, et al. Caffe: Convolutional architecture for fast feature embedding[C]//Proceedings of the ACM International Conference on Multimedia. ACM, 2014: 675-678.

[3] Kostinger M, Wohlhart P, Roth P M, et al. Annotated facial landmarks in the wild: A large-scale, real-world database for facial landmark localization[C]//Computer Vision Workshops (ICCV Workshops), 2011 IEEE International Conference on. IEEE, 2011: 2144-2151.

Prerequisites:

  1. The provided tool is compiled on Windows 8.1, 64 bit. But we have tested this tool successfully on Windows 7 and Windows 10.

  2. If you haven't installed Visual Studio 2013 or Visual C++ Redistributable for Visual Studio 2013, then please download and install the Visual C++ Redistributable for Visual Studio 2013 from: https://www.visualstudio.com/downloads/download-visual-studio-vs

Usuage:

face_align_icassp.exe modelPath imagePath listfile outputFile rd /s/q modelPath\input_data

Input:

  • "listfile " is a file that contains the images and corresponding face bounding box for each image.
  • "imagePath " is the path to a directory containing the image files.
  • "modelPath " is the path to a directory containing the model file.

Output:

  • "outputFile" is a file that will be generated by this tool and contains the predicted facial landmark locations.

The demand of "rd /s/q modelPath\input_data" is used for deleting a temp file at each run. If you remove this demand, the running results will be wrong.

Format:

Format of the listfile: This file starts with the number of the images to be tested. Then each of the following line contains the image name, followed by the left, right, top and bottom of the face bounding box. We suggest you use the face detector provided in http://mmlab.ie.cuhk.edu.hk/archive/CNN_FacePoint.htm to generate the face bounding box.

Format of the outputFile: 5 facial landmark locations (x1,y1,x2,y2...).

Example: Run run.bat

Should you have any questions, then just contact with us through email, [email protected].

face_align_v1's People

Watchers

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