百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

ERT-GBDT_Face_Alignment

> 编程语言
开源

一毫秒面部与递回树组合对齐

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一毫秒面部与递回树组合对齐

ERT_Face_Alignment

One Millisecond Face Alignment with an Ensemble of Regression Trees

This is an implementation of the face alignment method(ERT) by Jia Jinrang. And it has been first implemented by FeiLee1992 in 2017. If it is useful to you, please star to support my work. Thanks.

##About the model: Because the Github limits the size of the file(can not be larger than 100M), we can not updata our trained-well model. If needed, please contact me through the following E-mail: [email protected]

##Configuration Environment:

ubuntu + cv2 + boost

##train data:

We used the lfpw dataset(https://ibug.doc.ic.ac.uk/resources/facial-point-annotations/) with 68 landmarks in a face to train our code. The parameters in our experiment followed the instruction in the origin paper. The error on validation data is about 0.0600433 which is worse than that of the origin paper(0.049). This may because the diffierent dataset(lfpw in ours and helen in origin paper).

##Installation:

Clone the repository Complie run


we used the cmake and make tool to compile the code. You can follow the CMakeLists.txt in ERT_Train to write a new one which is suitable for your own environment.

If you have trained an xml.model, you can use it with the ERT_Test code. What is important, it is just a simple example to show the process of using a trained-well xml model. You can diy the code and try a more effective way to use it. Through multithreading, the speed can be as fast as the origin paper.

##file instruction

/ERT: the root directory of our project /ERT/ERT_Train: the code and result of the training process. /ERT/ERT_Train/code: the code of the ERT training process. /ERT/ERT_Train/code/src: all the .cpp files are here. /ERT/ERT_Train/code/inc: all the .h files are here. /ERT/ERT_Train/build: the build directory. /ERT/ERT_Train/model: the generated .xml files is here. we use .xml to save our model. /ERT/ERT_Train/train_cascade_1 to /train_cascade_X: these 1 to X directories are the results of train data of the X cascades. /ERT/ERT_Train/validation_cascade_1 to /validation_cascade_X: these 1 to X directories are the results of validation data of the X cascades. /ERT/ERT_Train/train_origin_landmark: origin_landmark of trian data is here. /ERT/ERT_Train/validation_origin_landmark: origin_landmark of validation data is here. /ERT/ERT_Train/haarcascade_frontalface_alt2.xml: opencv face detector. /ERT/ERT_Train/CMakeLists.txt: cmake file. /ERT/ERT_Test: use model to test image.

Enjoy it ~~ Please Star it. Thank you.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言