Skip to content

sungnam-team-b/cv2-face-auto-crop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Detection And Auto Crop

Language grade: Python
A python program that detects all human faces in an image and crops them automatically.

Optional

The best practice for your project is to use a virtual environment.

Download

cd && git clone https://github.com/kenxdrgn/Face-Detection-And-Auto-Crop

Installation (with virtualenv)

cd Face-Detection-And-Auto-Crop
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Installation (without virtualenv)

cd Face-Detection-And-Auto-Crop
pip install -r requirements.txt

Usage

python auto_crop.py <image_path> ...

Example

python auto_crop.py images/peoples.jpg

or

python auto_crop.py image/peoples.jpg data/group.png human.jpeg

Successfully cropped images will be saved in a folder named "result".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published