jlim262 / face-utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

face-utils

Introduction

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.

example

Prerequisites

  • Python 3.7

Installation

git clone https://github.com/jlim262/face-utils.git
cd face-utils
pip install -r requirements.txt

How to run example

python -m face_utils.face_aligner

Directory hierachy

Known Issues

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

References

About

License:MIT License


Languages

Language:Python 100.0%