Skip to content

forked from polarisZhaopytorch implementation of face detection algorithm MTCNN

Notifications You must be signed in to change notification settings

dlpy19/mtcnn-pytorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mtcnn-pytorch

pytorch implementation of face detection algorithm MTCNN

Usage MTCNN

Just download the repository and then do this

from src.detector import detect_faces
from src.utils import show_bboxes
from PIL import Image

image = Image.open('images/test3.jpg')
bounding_boxes, landmarks = detect_faces(image)
image = show_bboxes(image, bounding_boxes, landmarks)
image.show()

Requirements

  • pytorch 0.4
  • Pillow, numpy

Credit

This implementation is heavily inspired by:

Reference

MTCNN: Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks.

About

forked from polarisZhaopytorch implementation of face detection algorithm MTCNN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%