Skip to content
项目

codeniko/shape_predictor_81_face_landmarks

在 GitHub 查看

关于

经过训练的定制形状预测模型,可从任意图像中定位 81 个面部特征点。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

81 Facial Landmarks Shape Predictor

This is a custom shape predictor model trained to find 81 facial feature landmarks given any image.

It's trained similar to dlib's 68 facial landmark shape predictor. In addition to the original 68 facial landmarks, I added an additional 13 landmarks to cover the forehead area. This allows for precise head detection and for image operations that require points along the top of the head, for example when placing a hat on someone's head.

The additional 13 points were extract using my fork of eos by patrikhuber: https://github.com/codeniko/eos. I continued to use the Surrey Face Model and made note of 13 points that I thought were the perfect fit for my use case. I made the modifications here, then ran it on the entire ibug large database of images to overwrite each image's 68 landmark coordinates with my 81 landmark coordinates. From here, the training for the shape predictor model can proceed using http://dlib.net/train_shape_predictor.py.html

Check out this live example video of 81 landmark detection in action: https://www.youtube.com/watch?v=mDJrASIB1T0

81 landmarks reference

81 landmarks reference image

探索相关项目

加载中…