This project is an utility for alignment of a human face from an image.
From the input image,
Find all faces and return aligned faces and landmarks.
- Python 3.7
git clone https://github.com/jlim262/face-utils.git
cd face-utils
pip install -r requirements.txt
python -m face_utils.face_aligner
If you face the following error when you run face_aligner.py
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
please try to run this command in your terminal.
pip install opencv-python-headless