Skip to main content

SeetaPsych Face Hub

Community open-source face modules for SeetaPsych

简体中文 | English

Python License

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_face_hub/modules/insightface/retinaface.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_face_hub/modules/insightface/retinaface.yml")

pipeline = Pipeline(factory, ...)

pipeline.add_attributes("face/detection")

For complete end-to-end examples with visualization, see:

Module Catalog

Module YML Packages
insightface/retinaface.yml FaceDetection-RetinaFace(InsightFace)
insightface/arcface.yml FaceFeature-ArcFace(InsightFace)
mediapipe.yml FaceDetection-MediaPipe, FaceMesh-MediaPipe
retinaface.yml FaceDetection-RetinaFace(PyTorch)

InsightFace (RetinaFace)

InsightFace Buffalo RetinaFace detector: face bounding box + 5-point landmark detection with 500M / 2.5G / 10G FLOPs model variants.

InsightFace RetinaFace visualization of face boxes, confidence and 5-point landmarks on a sample portrait

Figure 1. InsightFace RetinaFace output visualization — detected faces, confidence scores, and 5-point landmarks.

Module config: insightface/retinaface.yml

Package Name Provides Attributes Requires Attributes
FaceDetection-RetinaFace(InsightFace) face/detection, face/landmarks (none)

Description: InsightFace RetinaFace detecting face boxes + 5-point landmarks with configurable input size; 3 accuracy/speed model tiers

Parameters

Name Type Default Description & Tuning
input_size number[] [640, 640] Network input [width, height] in pixels. Larger sizes improve small-face recall but slow inference. Square inputs are recommended.

Models

Name Recommended Notes
det_500m.onnx ✓
det_2.5g.onnx
det_10g.onnx

Output Attributes

  • face/detection — spec.
  • face/landmarks — spec.

InsightFace (ArcFace)

InsightFace Buffalo face feature extraction via ArcFace models producing L2-normalized 512-dim embeddings.

InsightFace ArcFace visualization of RetinaFace detections alongside a vertical voiceprint-style 512-dim embedding spectrum

Figure 2. InsightFace ArcFace output visualization — detected face and vertical voiceprint-style 512-dim embedding spectrum with sign-magnitude heat bars.

Module config: insightface/arcface.yml

Package Name Provides Attributes Requires Attributes
FaceFeature-ArcFace(InsightFace) face/feature face/landmarks

Description: Extract L2-normalized 512-dim face embeddings for recognition, clustering, or similarity search from 5-point aligned faces

Parameters: (none)

Models

Name Recommended Notes
w600k_r50.onnx ✓
w600k_mbf.onnx

Output Attributes

  • face/feature — spec.

MediaPipe

MediaPipe Tasks face detection and 468-point 3D face mesh landmarking via BlazeFace short/full-range models.

MediaPipe Tasks visualization of detected face box and 468-point 3D face mesh landmarks on a sample portrait

Figure 3. MediaPipe Tasks output visualization — face detection bbox and 468-point 3D FaceMesh landmarks.

Module config: mediapipe.yml

Package Name Provides Attributes Requires Attributes
FaceDetection-MediaPipe face/detection (none)
FaceMesh-MediaPipe face/mesh face/detection

Package: FaceDetection-MediaPipe

Description: Face bounding box detection via MediaPipe BlazeFace detector with short/full-range/sparse model variants

Parameters

Name Type Default Description & Tuning
running_mode selection (IMAGE, VIDEO, LIVE_STREAM) IMAGE Task execution mode. IMAGE for single static frames; VIDEO/LIVE_STREAM for time-series smoothing across frames.
min_detection_confidence number 0.5 Minimum confidence score for a detection box to be returned. Lower values catch more faces at the cost of false positives.
min_suppression_threshold number 0.3 IoU threshold for non-maximum suppression. Higher values keep more overlapping boxes; lower values prune aggressively.

Models

Name Recommended Notes
blaze_face_full_range.tflite ✓
blaze_face_full_range_sparse.tflite
blaze_face_short_range.tflite

Output Attributes

  • face/detection — spec.

Package: FaceMesh-MediaPipe

Description: 468-point normalized 3D face mesh landmark extraction from detected face boxes with optional blendshapes and pose matrices

Parameters

Name Type Default Description & Tuning
running_mode selection (IMAGE, VIDEO, LIVE_STREAM) IMAGE Task execution mode. VIDEO/LIVE_STREAM enable temporal landmark smoothing when num_faces = 1.
num_faces integer 1 Maximum number of faces to landmark simultaneously. Smoothing is only active when num_faces is 1.
min_face_detection_confidence number 0.5 Minimum confidence for the built-in face detector to succeed when initializing landmark placement.
min_face_presence_confidence number 0.5 Minimum confidence that a face is present in the frame before landmark output; filters intermittent dropouts in video.
min_tracking_confidence number 0.5 Minimum tracking confidence to reuse the last known face position vs. re-running full detection. Higher values reduce drift but trigger re-detection more often.
output_face_blendshapes boolean false Whether to output 52 face blendshape coefficients for 3D avatar/AR rendering. Adds minor compute overhead.
output_facial_transformation_matrixes boolean false Whether to output 4x4 facial pose transformation matrices for rigid head pose estimation.

Models

Name Recommended Notes
face_landmarker.task ✓

Output Attributes

  • face/mesh — spec.

References

Metadata

Release files for seetapsych-face-hub 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seetapsych-face-hub 0.0.4
File Size Uploaded
seetapsych_face_hub-0.0.4.tar.gz 779.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seetapsych-face-hub 0.0.4
File Interpreter ABI Platform
seetapsych_face_hub-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 843.5 kB

Release files / seetapsych_face_hub-0.0.4.tar.gz

Download URL seetapsych_face_hub-0.0.4.tar.gz
Size 779.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5b9be8b30dc8e32543fcad0e5ed9f29b45e143e52e5ca214c74b14d29adeef14
BLAKE2b-256 checksum
How to use checksums
0e2d4d162f9a9cf9f63ec9ab3e4c73c86343a9c801734cd290bfca6a21b3b140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / seetapsych_face_hub-0.0.4-py3-none-any.whl

Download URL seetapsych_face_hub-0.0.4-py3-none-any.whl
Size 63.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b8ed0a599e557b4cba719b99be5cce035698233c36a3705b9e4a743b3369eae
BLAKE2b-256 checksum
How to use checksums
7b2417ffb18615cc36feeea9148a6f9830f85f375ef682042300d0fd91d152a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release 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