利用pytorch实现mtcnn。
torch-mtcnn的Python项目详细描述
此项目的原始工作始终属于原始创建者(https://github.com/TropComplique/mtcnn-pytorch)。为了便于安装,我在pypi上提供了这个。要安装此项目,只需键入pip install torch-mtcnn
MTCNN
pytorch
实现
Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks。
示例
如何使用
使用pip安装包:pip install torch-mtcnn
fromtorch_mtcnnimportdetect_facesfromPILimportImageimage=Image.open('image.jpg')bounding_boxes,landmarks=detect_faces(image)
在原始存储库(上面的链接)上提供了更多的示例。
要求
- 喷灯0.2
- 枕头,纽比
学分
此实现的主要灵感来自: