face-alignment

Face alignment in 3000 FPS

  • 所有者: jwyang/face-alignment
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Face alignment in 3000 FPS

##Introduction

This project is aimed to reproducing (partially) the face alignment algorithm in the CVPR 2014 paper:

Face Alignment at 3000 FPS via Regressing Local Binary Features. Shaoqing Ren, Xudong Cao, Yichen Wei, Jian Sun; The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2014, pp. 1685-1692

##How to run the codes?

  • First of all, we need prepare datasets, such as afw, lfpw, helen, ibug, etc. All these can be downloaded freely from https://ibug.doc.ic.ac.uk/resources/facial-point-annotations. Then get the filelist file Path_Images.txt for each dataset (please refer to the Q&A).

  • For training, initialize variable dbnames as {'Dataset_a', 'Dataset_b', ..., }, then run train_model in command line window.

  • For testing, run test_model in command line window after having obtained trained model. Please remember to initialize dbnames to be the names of dataset you would like to test on.

##Dependencies

##Learned Model

Off-the-shelf model can be downloaded here: http://pan.baidu.com/s/1i325Rbn, whose configure file can be found in folder "models".
Its performance is analogy to the lbf_fast model evaluated in the original paper.

##Q&A

  • How to get the file Path_Images.txt?

    It can be obtained by run bat file in the root folder of a dataset, the code is simply "dir /b/s/p/w *.jpg>Path_Images.txt".
    
  • What is Ts_bbox.mat?

    This problem is solved in recent version. Ts_bbox is a transformation matrix to adapt bounding boxes obtained from face detector to the boxes suitable for the face alignment algorithm.
    
  • How to define the variable dbnames in train_model and test_model functions?

    It is formed as a cell array {'dbname_1' 'dbname_2' ... 'dbname_N'}. For example, if we use the images in afw for trainig, we then define it as {'afw'}.
    
  • Why does an error occur when initializing parallel computing?

    It may be caused by Matlab version. For Matlab 2014, it will be okay. For earlier version, please use matlabpool alternatively.
    
  • Some function correspondences from Matlab 2014 to older version

    fitgeotrans -> cp2tform, transformPointsForward -> tformfwd
    

##Discussion

For those Tencent QQ users, you can join the group face hacker (180634020) to discuss more on facial algorithms. Along with the request, it is needed to provide your affiliation (university/company where you are studying/working).

主要指标

概览
名称与所有者jwyang/face-alignment
主编程语言MATLAB
编程语言Matlab (语言数: 1)
平台
许可证
所有者活动
创建于2014-05-17 10:59:20
推送于2017-02-06 20:33:50
最后一次提交2017-02-06 15:33:50
发布数0
用户参与
星数323
关注者数44
派生数190
提交数68
已启用问题?
问题数38
打开的问题数31
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?