Skip to main content

PyFace

license python release pypi downloads

Introduction

PyFace is a Python library for face detection, face landmark, face depth, face recognition, etc.

PyFace Overview

Installation

Requirements

  • Python 3.10+

Install via pypi

pip install -U pip wheel
pip install setuptools # for python 3.12
pip install pyface-docsaid

Install via GitHub

pip install -U pip wheel
pip install setuptools # for python 3.12
pip install git+https://github.com/DocsaidLab/PyFace.git

Usage

You can see demo for more details.

General usage

We recommend to use FaceService for integrating all face models.

import capybara as cb
import pyface as pf

face_service = pf.FaceService(
    batch_size=1,
    enable_recognition=True,
    enable_depth=True,
    enable_landmark=True,
    face_bank='path/to/face_bank',
    recog_level='High',
    detect_kwargs={"gpu_id": 0, "backend": "cuda"}, # if you want to use GPU on detection
    landmark_kwargs={"backend": "cpu"}, # if you want to use CPU on landmark
    ...
)
img = cb.imread('path/to/image')
faces_on_img = face_service([img])[0]
# Plotted faces on image
cb.imwrite('path/to/output', faces_on_img.gen_info_img())

Citation

@misc{lin2025pyface,
  author       = {Kun-Hsiang Lin},
  title        = {PyFace: An Integrated Python Package for Face Analysis},
  year         = {2025},
  publisher    = {GitHub},
  howpublished = {\url{https://github.com/DocsaidLab/PyFace}}
}

Metadata

Release files for pyface-docsaid 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pyface-docsaid 0.4.0
File
pyface_docsaid-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
pyface_docsaid-0.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
pyface_docsaid-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
pyface_docsaid-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
pyface_docsaid-0.4.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
pyface_docsaid-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 2.7 MB

Release files / pyface_docsaid-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL pyface_docsaid-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 779.4 kB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9fc343f2113694efc8655295c79f815812e56716ff412c00511d1e53dd991455
BLAKE2b-256 checksum
How to use checksums
e21b272317f02e92abc453a0263f127563b44b54483ab294683974e585fe075a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / pyface_docsaid-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL pyface_docsaid-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 286.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c6c913346f0d40cd1c2de05e40b9e176c56afb822d9875fabbc9ee6b9bb5fc77
BLAKE2b-256 checksum
How to use checksums
cee02d7bd7eb0d7947ceeea97a5b06047339ec4765b6e81a8ef7d2ab05b1f23c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / pyface_docsaid-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL pyface_docsaid-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 292.9 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
9f7b4b464cd4d22fe0d5fb98a5afb481f54d3f07e62e06e86507ec0088eac14c
BLAKE2b-256 checksum
How to use checksums
ad4eb21d203be189526779752fe0c7856cdc1e6e1ecd6a108c89a38b9b8c9846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / pyface_docsaid-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL pyface_docsaid-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 747.6 kB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4f2a76fe46c37186f73d382e2a867b5aaadb71ae331d64fa86191d5c0eee7ba4
BLAKE2b-256 checksum
How to use checksums
c0b33a5b227c225c35817438b2a3954e6820d36be56fa7b4525a21fe6215e94c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / pyface_docsaid-0.4.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL pyface_docsaid-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Size 286.6 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2aab0585b95a7f2ba3cd2c5dcfb36e3fc29051dcb09805fba46a9f67fe2bccb0
BLAKE2b-256 checksum
How to use checksums
04a9e3679b04f452f7111b5db137efb4b56caae995a330745183753846ffd04e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / pyface_docsaid-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL pyface_docsaid-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 291.5 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
b0d4591ab7250db46a870039f82c17d587837a0e63f0fc478010d0e2ff238e11
BLAKE2b-256 checksum
How to use checksums
d560fcca58827424583a80400e6c4db2604fd165a960ffd08719fa723d3dc76a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.4.0 This release

6 release files

0.3.1

6 release files

0.2.0

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page