资源算法FaceAlignmentJNI

FaceAlignmentJNI

2020-03-25 | |  34 |   0 |   0

Steps

  1. calibrate according orientation, camera index, check this post.

  2. face detection using opencv haar cascade detector. (scaled to max edge size = 480)

  3. filtering: for each face from previous step, apply skin filter + dlib hog based face detector. dlib detector is slower but with less false positive. (scaled to max edge size = 960)

  4. landmarks detection using dlib, very fast. (original size)

  5. alignment: 68 points template image, their coordinates can be found here. You can either use the template coordinates or your targeted aligned landmarks coordinates (e.g. scale and translation on top of template coordinates) to do affine transformation and cropping. The cropped images will be aligned and saved for feature extraction (if needed).

Setup

  1. modify relevant paths in faceDetAlignLib/build.sh and faceDetAlignLib/CMakeLists.txt, run build.sh

  2. download dlib landmarks detection model from here

  3. adb push shape_predictor_68_face_landmarks.dat /sdcard/FaceDetAlignApp/

Reference


上一篇:ECT-FaceAlignment

下一篇:Intensity-Depth-Face-Alignment

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...