ID: 5da8df3c38f2ba0c90c7bab7
Face Alignment
by SHIVAM GARG
Face alignment using dlib and openCv
License: Eclipse Public License version 2.0
Tags:
Model stats and performance
Framework | OpenCV |
OS Used | Linux |
Publication | View |
Inference time in seconds per sample.
Screenshots
FACE ALIGNMENT USING OPENCV AFFINE TRANSFORMATIONS
WHAT IS IT?
Face alignment, the process of Identifying the geometric structure of faces in digital images. Attempting to obtain a canonical alignment of the face based on translation, scale, and rotation. There are many forms of face alignment.Basically here the face is first identified then its 3D image is constructed and then by using the angles of eyes and jaw from horizontal and vertical angle tilted is estimated then the image is re rotated.
HOW TO USE?
To run The Inference Script run this command
python run.py --shape-predictor --image
SAMPLE COMMAND
python a.py --shape-predictor shape_predictor_68_face_landmarks.dat --image 1150137750.jpg.jpg
ARGUMENTS | DETAILS | HELP OPTIONS |
---|---|---|
–shape-predictor | Input Model Path | Mention the input model path |
–image | Input Image | Mention the input Image path |
WHAT ARE THE REQUIREMENTS?
To get all the requirements and dependencies installed run the command
For GPU - pip install -r gpu_requirements.txt
For CPU - pip install -r cpu_requirements.txt
Author View Profile
Views
A philosophy student cleverly disguised as a Coax Deep Learning engineer spending whole day, practically every day, experimenting with TensorFlow,Pytorch, and Caffe; dabbling with Python and C++; and drinking a wide variety of Coffee everyday.
User Reviews
0 total ratings
Model has not been reviewed yet.