Skip to content

urbaneman/Face_crop_align_mtcnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face_crop_align_mtcnn

Crop and Align Face by MTCNN

Environment

  1. The test environment is
    • Python 3.6.4
    • mxnet 1.2.0
    • numpy 1.15.0
    • scikit-image 0.14.0
    • python-opencv 3.4.3
    • tqdm 4.28.1

Reference

some part of the content reference from insightface

How to use it

Just specify input path, output path, output face's size with '--input_path', '--output_path' and '--face_size', if you want use gpu, please specify gpu id with '--gpu'.

usage: Face_align_crop.py [-h] [--input_path INPUT_PATH] [--output_path OUTPUT_PATH] [--gpu GPU] [--face_size FACE_SIZE]

Run python Face_align_crop.py --input_path ... --output_path ... --gpu ... --face_size ...

About

Crop and Align Face by MTCNN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages