• Stars
    star
    244
  • Rank 164,907 (Top 4 %)
  • Language
    Python
  • Created about 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

head pose estimation

face-landmark-localization

This is a project predict face landmarks (68 points) and head pose (3d pose, yaw,roll,pitch).

Install

Usage for images

  • Command : python landmarkPredict.py predictImage testList.txt

    (testList.txt is a file contain the path of the images.)

Usage for usb camera

This sctpt enables you to see intractive results for this face-landmark-localization.

usage: landmarkPredict_video.py uvcID

  • Command : python landmarkPredict_video.py 0

Model

  • You can download the pre-trained model from here

Train

  • add train.prototxt and train_solver.prototxt files, Training using the 300W data set

Result


class based rewrite for the landmarkPredict.

facePos.py: FacePosePredictor class is defined.

librect.py: helper functions for rectangles.

landmarkPredict_video.py uses this class version.