When we need to capture a face image through camera on laptop, it is hard to align the face with the right frontal position. Using this auxiliary tool, we can take an excellent face image via one-shot.
Given a normal frontal face image, the edge of eyes and mouths are extracted, then the edges are integrated to the camera image.
- 2015/8/16 Create the repository.
- Opencv 3.0.0
- Visual Studio 2013 (If you just want to use the tool, install Visual C++ Redistributable Packages for Visual Studio 2013 (x86) instead.)
You can refer to this for the procedure of deployment.
- Open a command window.
- Switch the current folder to
<repository folfer>\bin\
. - Type in the following command, and press enter.
FaceAlignmentAuxiliary.exe <referenceImg>
<referenceImg>
: the image referred for alignment.