Pure Python OpenFace 2.2 AU extraction with CLNF landmark refinement
Project description
pyfaceau
Python implementation of OpenFace 2.2's Facial Action Unit extraction pipeline.
Installation
pip install pyfaceau
Usage
from pyfaceau import FaceAnalyzer
analyzer = FaceAnalyzer()
result = analyzer.analyze(image)
print(result.au_intensities) # 17 action unit intensities
print(result.landmarks) # 68 facial landmarks
print(result.pose) # head pose
What it does
- Extracts 17 facial action units (AU01, AU02, AU04, AU05, AU06, AU07, AU09, AU10, AU12, AU14, AU15, AU17, AU20, AU23, AU25, AU26, AU45)
- Detects 68 facial landmarks via pyclnf
- Estimates 3D head pose
- No C++ compilation required
Citation
If you use this in research, please cite:
Wilson IV, J., Rosenberg, J., Gray, M. L., & Razavi, C. R. (2025). A split-face computer vision/machine learning assessment of facial paralysis using facial action units. Facial Plastic Surgery & Aesthetic Medicine. https://doi.org/10.1177/26893614251394382
License
CC BY-NC 4.0 — free for non-commercial use with attribution.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyfaceau-1.3.5.tar.gz.
File metadata
- Download URL: pyfaceau-1.3.5.tar.gz
- Upload date:
- Size: 142.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6fb189a40192b7ee1f16d375f6e4a44fc6fe66b4b16bd37b7ed067e96bb6940
|
|
| MD5 |
eb24c693d443e448a39605a724883dfb
|
|
| BLAKE2b-256 |
582f0175b028cdb4472beb25163c47a261df29ab6048ca4c7895703e0097bca3
|
Provenance
The following attestation bundles were made for pyfaceau-1.3.5.tar.gz:
Publisher:
publish.yml on johnwilsoniv/pyfaceau
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfaceau-1.3.5.tar.gz -
Subject digest:
c6fb189a40192b7ee1f16d375f6e4a44fc6fe66b4b16bd37b7ed067e96bb6940 - Sigstore transparency entry: 779650958
- Sigstore integration time:
-
Permalink:
johnwilsoniv/pyfaceau@67d6985ae8c3170ae69c8f3db4936ebba2ca942a -
Branch / Tag:
refs/tags/v1.3.5 - Owner: https://github.com/johnwilsoniv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@67d6985ae8c3170ae69c8f3db4936ebba2ca942a -
Trigger Event:
release
-
Statement type: