PainFace
Open-source Python framework for facial pain estimation via Action Units (AUs).
Research tool only — not a medical device.
Install
pip install painface
Quick Start
from painface import PainFace
pf = PainFace()
# Load an image
record = pf.load_image("face.jpg")
# Load a video and sample frames
meta = pf.load_video("patient_video.mp4")
frames = pf.sample_frames(meta, target_fps=5)
print(f"Got {len(frames)} frames")
Current Version (v0.1.0)
- Image loading
- Video loading & frame sampling
More modules coming: face detection, landmarks, AU estimation, pain scoring.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
painfacenet-0.2.0.tar.gz
(11.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file painfacenet-0.2.0.tar.gz.
File metadata
- Download URL: painfacenet-0.2.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc6d96a94b966792fe8c8256fe862f12311fe7999552d0c02e33b13597474320
|
|
| MD5 |
ded0dbe0657096b582caec86cda1168f
|
|
| BLAKE2b-256 |
3a727ab9949897d4a05c368c75308ee76c480a570010d30990a74e1acf1afca9
|
File details
Details for the file painfacenet-0.2.0-py3-none-any.whl.
File metadata
- Download URL: painfacenet-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc79e8f7c8f3280975f1e878f0c33705edd82e8ba7a7e888db004e65760d0c3
|
|
| MD5 |
de17fca7e94259657ada0c8d7ff4f0ec
|
|
| BLAKE2b-256 |
38573532e4eac500d4b5ae1cda65fb64b7d6ac27923a4e1073c5228252e4864f
|