FaceXLib
facexlib aims at providing ready-to-use face-related functions based on current SOTA open-source methods.
Only PyTorch reference codes are available. For training or fine-tuning, please refer to their original repositories listed below.
Note that we just provide a collection of these algorithms. You need to refer to their original LICENCEs for your intended use.
If facexlib is helpful in your projects, please help to :star: this repo. Thanks:blush:
Other recommended projects: :arrow_forward: Real-ESRGAN :arrow_forward: GFPGAN :arrow_forward: BasicSR
:sparkles: Functions
| Function | Sources | Original LICENSE |
|---|---|---|
| Detection | Pytorch_Retinaface | MIT |
| Alignment | AdaptiveWingLoss | Apache 2.0 |
| Recognition | InsightFace_Pytorch | MIT |
| Parsing | face-parsing.PyTorch | MIT |
| Matting | MODNet | CC 4.0 |
| Headpose | deep-head-pose | Apache 2.0 |
| Tracking | SORT | GPL 3.0 |
| Assessment | hyperIQA | - |
| Utils | Face Restoration Helper | - |
:eyes: Demo and Tutorials
:wrench: Dependencies and Installation
- Python >= 3.7 (Recommend to use Anaconda or Miniconda)
- PyTorch >= 1.7
- Option: NVIDIA GPU + CUDA
Installation
pip install facexlib
Pre-trained models
It will automatically download pre-trained models at the first inference.
If your network is not stable, you can download in advance (may with other download tools), and put them in the folder: PACKAGE_ROOT_PATH/facexlib/weights.
:scroll: License and Acknowledgement
This project is released under the MIT license.
:e-mail: Contact
If you have any question, open an issue or email xintao.wang@outlook.com.
Metadata
Release files for facexlib 0.3.0
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 | Actions |
|---|---|---|---|---|
| facexlib-0.3.0.tar.gz | 1.1 MB | Without provenance | Details for facexlib-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| facexlib-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for facexlib-0.3.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / facexlib-0.3.0.tar.gz
| Download URL | facexlib-0.3.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ae784a520eb52e05583e8bf9f68f77f45083239ac754d646d635017b49e7763
|
|
BLAKE2b-256 checksum How to use checksums |
e193c820cd2c6315b635934770808e0b01ed4db257ec33bcf803909dcf4bce15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / facexlib-0.3.0-py3-none-any.whl
| Download URL | facexlib-0.3.0-py3-none-any.whl |
|---|---|
| Size | 59.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
245d58861537b820c616e8b3ef618ccfad2a24724a2d74be2b0542643c01a878
|
|
BLAKE2b-256 checksum How to use checksums |
367b2147339dafe1c4800514c9c21ee4444f8b419ce51dfc7695220a8e0069a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for facexlib 0.3.0
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.