Skip to content

You-Yuhao/Face-Alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an Auto Face Segmentation program based on C++

I directly use other open source program to cover the face detection and face key points location. I mainly focus on developing the function of Auto Face Segmentation.In this program, the cropped face are aligned by eyes’ coordinates. In the 100*100 cropped face picture, the eyes are kept at the 30px(Y coordinate), and the eyes` distance is kept as 40px.

face detection:https://github.com/ShiqiYu/libfacedetection

face key points location:https://github.com/delphifirst/FaceX

In the "Release" folder, you can get a demo. Firstly, you should choose the size of cropped face picture, the size of cropped eyes picture and so on.In this program I provide 3 choices: 200200, 200200, 100*100. It`s the size of cropped face picture. And the 1st one has a smaller size of eyes picture and so on, while the 2nd and 3rd have a bigger size of eyes picture and so on. Secondly, you should give the number of pictures you want to use which should be put in the "Release" folder. The pictures should be named like "1.jpg", and only "jpg" is allowed.

Finally, you will get these pictures:

SourePic

Face

Brows

leftBrow

rightBrow

Eyes

leftEye

rightEye

nose

mouth

About

an Auto Face Segmentation based on C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published