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.1.0.tar.gz
(7.8 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.1.0.tar.gz.
File metadata
- Download URL: painfacenet-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a5529265488114a373cc19b15c83b03aee8faca8e674ac6c9f49fecde8af39b
|
|
| MD5 |
003901904a4be256467f98f4ad23edaf
|
|
| BLAKE2b-256 |
62432bbce240a2c5f983f9f037a04903eecf55143ded1b32afbab031a139e1d1
|
File details
Details for the file painfacenet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: painfacenet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 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 |
f7f5ae25bee3ff01e1ae426d4026fe8cfbc89572b9bd7fd035055ef1dd643886
|
|
| MD5 |
a6c884735c5945991a93fb50e26f23b6
|
|
| BLAKE2b-256 |
ac4738b8269e84735b98ee45e77cca3dbb238281c3c2faaee958a924e9fbf570
|