The original work of this project is always belong to the original creator (https://github.com/TropComplique/mtcnn-pytorch). I just make this available on pypi for easy installation. To install this project just type pip install torch-mtcnn
MTCNN
pytorch implementation of inference stage of face detection algorithm described in
Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks.
Example
How to use it
Install the package with pip: pip install torch-mtcnn
from torch_mtcnn import detect_faces
from PIL import Image
image = Image.open('image.jpg')
bounding_boxes, landmarks = detect_faces(image)
For a few more examples available on the original repository (link above).
Requirements
- pytorch 0.2
- Pillow, numpy
Credit
This implementation is heavily inspired by:
Metadata
Release files for torch-mtcnn 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| torch-mtcnn-0.0.7.tar.gz | 7.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torch_mtcnn-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / torch-mtcnn-0.0.7.tar.gz
| Download URL | torch-mtcnn-0.0.7.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e435e5cd0f07110801fadd7fe6f1d47825ae9f79353f74f2e6e764df2d527108
|
|
BLAKE2b-256 checksum How to use checksums |
ec28c08c9674eae5742b84b783d2188a17513cdb05ce969d2aeffd11f0a36aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / torch_mtcnn-0.0.7-py3-none-any.whl
| Download URL | torch_mtcnn-0.0.7-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f19d528de763568f673a5261e18c22dbcdf043d6413ba968411a309f284b77e
|
|
BLAKE2b-256 checksum How to use checksums |
3e63406c2f22ff79269edefa82373f9dd3082a977fe03e6ccc2efc54100afc88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for torch-mtcnn 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.