SeetaPsych Emotion
Facial affect/emotion recognition modules for SeetaPsych
Usage
This project is already included in the seetapsych-lib default configuration. Download and use it via seetapsych-manager download.
For usage, refer to SeetaPsych.
You can additionally add this algorithm module using the following methods.
WebUI
Run seetapsych-webui with the --dirs argument to use it.
seetapsych-webui --files seetapsych_emo/modules/ufanet.yml
Programmatic Usage
Add the following code in your program to use this algorithm module.
from seetapsych_lib.runtime.factory import Factory
from seetapsych_lib.runtime.pipeline import Pipeline
factory = Factory()
factory.load_file_modules("seetapsych_emo/modules/ufanet.yml")
pipeline = Pipeline(factory, ...)
pipeline.add_attributes("face/expression", "face/action_units", "face/dimensional_affect")
Introduction
UFANet (Unified Facial Affect Network)
PyTorch-based unified facial affect recognition model built on MAE-ViT-Backbone (mae_vit_base_patch16). Performs 5-point facial alignment and cropping, then simultaneously predicts categorical expressions, Action Units (AUs), and dimensional affect (valence/arousal).
Module config: ufanet.yml.
Provide Attributes: face/expression, face/action_units, face/dimensional_affect.
Requires: face/landmarks (5-point facial landmarks for alignment and cropping).
Available model: seeta-emo-ufanet-2604.safetensors (recommended).
Output details:
face/expression: 7 basic expression classes with confidence scores — neutral, anger, disgust, fear, happy, sad, surprise.face/action_units: 16 Facial Action Units with intensities — AU1, AU2, AU4, AU5, AU6, AU7, AU9, AU10, AU12, AU15, AU17, AU20, AU23, AU24, AU25, AU26.face/dimensional_affect: Continuous valence and arousal values in a dict{valence: float, arousal: float}.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 seetapsych_emo-0.0.2.tar.gz.
File metadata
- Download URL: seetapsych_emo-0.0.2.tar.gz
- Upload date:
- Size: 179.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5bcacabda79d24342c840c03c0debafe69451c6e60b6bd7a2a49b98ebc86ee7
|
|
| MD5 |
3fad728851b33af5e48eafcb33a19b77
|
|
| BLAKE2b-256 |
4a93afa21412244e838d8b71ce009a51722a645d9006ef07ccbc03b7c75c20c4
|
Provenance
The following attestation bundles were made for seetapsych_emo-0.0.2.tar.gz:
Publisher:
publish.yml on seetapsych/seetapsych-emo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seetapsych_emo-0.0.2.tar.gz -
Subject digest:
b5bcacabda79d24342c840c03c0debafe69451c6e60b6bd7a2a49b98ebc86ee7 - Sigstore transparency entry: 2652795184
- Sigstore integration time:
-
Permalink:
seetapsych/seetapsych-emo@7a42adb93eff9b3d01fb8b7a15abc0ef286207c4 -
Branch / Tag:
refs/tags/r0.0.2 - Owner: https://github.com/seetapsych
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7a42adb93eff9b3d01fb8b7a15abc0ef286207c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file seetapsych_emo-0.0.2-py3-none-any.whl.
File metadata
- Download URL: seetapsych_emo-0.0.2-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6fe9983fc7439ebec857ae29db32c5a17f612612f4aa335043d1047651f246
|
|
| MD5 |
b31751f5f8d961874f938ff04490d097
|
|
| BLAKE2b-256 |
d4728cd7b8b16d4e2f8170d92ddb7f7f8022fe8bf4fdcdf59c05dc2d7ca45189
|
Provenance
The following attestation bundles were made for seetapsych_emo-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on seetapsych/seetapsych-emo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seetapsych_emo-0.0.2-py3-none-any.whl -
Subject digest:
df6fe9983fc7439ebec857ae29db32c5a17f612612f4aa335043d1047651f246 - Sigstore transparency entry: 2652795235
- Sigstore integration time:
-
Permalink:
seetapsych/seetapsych-emo@7a42adb93eff9b3d01fb8b7a15abc0ef286207c4 -
Branch / Tag:
refs/tags/r0.0.2 - Owner: https://github.com/seetapsych
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7a42adb93eff9b3d01fb8b7a15abc0ef286207c4 -
Trigger Event:
push
-
Statement type: