Skip to main content

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

seetapsych_emo-0.0.2.tar.gz (179.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seetapsych_emo-0.0.2-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

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

Hashes for seetapsych_emo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b5bcacabda79d24342c840c03c0debafe69451c6e60b6bd7a2a49b98ebc86ee7
MD5 3fad728851b33af5e48eafcb33a19b77
BLAKE2b-256 4a93afa21412244e838d8b71ce009a51722a645d9006ef07ccbc03b7c75c20c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for seetapsych_emo-0.0.2.tar.gz:

Publisher: publish.yml on seetapsych/seetapsych-emo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for seetapsych_emo-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df6fe9983fc7439ebec857ae29db32c5a17f612612f4aa335043d1047651f246
MD5 b31751f5f8d961874f938ff04490d097
BLAKE2b-256 d4728cd7b8b16d4e2f8170d92ddb7f7f8022fe8bf4fdcdf59c05dc2d7ca45189

See more details on using hashes here.

Provenance

The following attestation bundles were made for seetapsych_emo-0.0.2-py3-none-any.whl:

Publisher: publish.yml on seetapsych/seetapsych-emo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.3.post1

2 files

0.0.3

2 files

This release

0.0.2 This release

2 files

0.0.1

1 file

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