Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06173bb
commit 440620b
Showing
16 changed files
with
479 additions
and
561 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
# mtcnn-pytorch | ||
# MTCNN | ||
|
||
`pytorch` implementation of **inference stage** of face detection algorithm described in [Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks](https://arxiv.org/abs/1604.02878). | ||
|
||
## Example | ||
![example of a face detection](images/example.png) | ||
|
||
## How to use it | ||
Just download the repository and then do this | ||
```python | ||
from src import detect_faces | ||
from PIL import Image | ||
|
||
image = Image.open('image.jpg') | ||
bounding_boxes, landmarks = detect_faces(image) | ||
``` | ||
For examples, see `test_on_images.ipynb`. | ||
|
||
## Requirements | ||
* pytorch 0.2 | ||
* Pillow, numpy | ||
|
||
## Credit | ||
This implementation is heavily inspired by: | ||
* [pangyupo/mxnet_mtcnn_face_detection](https://github.com/pangyupo/mxnet_mtcnn_face_detection) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.