SeetaPsych Face Hub
Community open-source face modules for SeetaPsych
简体中文 | English
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:
- examples/image_retinaface.py — static-image face detection + 5-point landmarks via InsightFace RetinaFace.
- examples/image_mediapipe.py — static-image face detection + 468-point 3D mesh via MediaPipe Tasks.
- examples/image_arcface.py — static-image RetinaFace + 512-dim ArcFace embedding with voiceprint-style spectrum visualization.
- examples/camera_selection.py — live-camera face detection + PID-based target selection & tracking.
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.
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
InsightFace (ArcFace)
InsightFace Buffalo face feature extraction via ArcFace models producing L2-normalized 512-dim embeddings.
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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| seetapsych_face_hub-0.0.4.tar.gz | 779.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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