Skip to main content

SeetaPsych Face Hub

Community open-source face 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_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")

Introduction

Retinaface(InsightFace)

A face detection model from InsightFace's Buffalo release, capable of detecting faces and 5-point facial landmarks simultaneously. ONNX-based with configurable input size (default 640x640) for speed/accuracy tradeoff.

Module config: retinaface.yml. Provide Attributes: face/detection face/landmarks.

Available models: det_500m.onnx (recommended, 500M FLOPs, lightweight), det_2.5g.onnx (2.5G FLOPs, balanced), det_10g.onnx (10G FLOPs, high accuracy).

ArcFace(InsightFace)

A face feature extraction (recognition) model from InsightFace's Buffalo release, capable of extracting L2-normalized 512-dim face embedding vectors. Requires 5-point face landmarks for similarity transform alignment before feature extraction.

Module config: arcface.yml. Provide Attributes: face/feature.

Available models: w600k_r50.onnx (recommended, ResNet-50 backbone, higher accuracy), w600k_mbf.onnx (MobileFaceNet backbone, lightweight, faster).

FaceMesh(MediaPipe)

A suite of MediaPipe Tasks vision solutions including BlazeFace face detector and Face Landmarker. Face Mesh extracts 468 normalized 3D face landmarks covering the entire facial geometry. Detection and mesh are provided as two separate packages:

  • Face Detector: Provides face/detection. Supports BlazeFace models in short-range, full-range, and sparse variants.
  • Face Mesh: Provides face/mesh, requires face/detection. Outputs normalized 3D landmarks with optional face blendshapes and facial transformation matrices.

Module config: mediapipe.yml. Provide Attributes: face/detection face/mesh.

Detector models: blaze_face_full_range.tflite (recommended), blaze_face_full_range_sparse.tflite, blaze_face_short_range.tflite. Mesh model: face_landmarker.task (recommended).

Retinaface(Ver. PyTorch)

PyTorch implementation of RetinaFace (Biubug6), a single-stage dense face localisation model. Detects faces and 5-point landmarks with configurable confidence threshold (default 0.6). Models are distributed in safetensors format.

Module config: retinaface.yml. Provide Attributes: face/detection face/landmarks.

Available models: mobilenet0.25_Final.safetensors (recommended, MobileNet-0.25 backbone, lightweight), Resnet50_Final.safetensors (ResNet-50 backbone, higher accuracy).

References

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seetapsych_face_hub-0.0.2.tar.gz (281.8 kB view details)

Uploaded Source

Built Distribution

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

seetapsych_face_hub-0.0.2-py3-none-any.whl (61.8 kB view details)

Uploaded Python 3

File details

Details for the file seetapsych_face_hub-0.0.2.tar.gz.

File metadata

  • Download URL: seetapsych_face_hub-0.0.2.tar.gz
  • Upload date:
  • Size: 281.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for seetapsych_face_hub-0.0.2.tar.gz
Algorithm Hash digest
SHA256 047f6e41401ee8f1d7e765d3d8f309e541f90f2f75f90e79006496943c675b1f
MD5 dadfd7526b836fa9dbd9891797dd9f99
BLAKE2b-256 e43f0e0b6968faa2b4e76ce79683f7e2e6ebc6c5a8417aca3eb226130439d678

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on seetapsych/seetapsych-face-hub

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_face_hub-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for seetapsych_face_hub-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6562b0e0d5b110d0f05848640209be5553d4b9d3dad863d12a783eb27340eb0
MD5 f7435b5894e1395f19e201850d40ae63
BLAKE2b-256 0da8a970074405b7c8eb6d84a57fd6db634bfd4be5d1e6ae4c3f1a0e5b54b13c

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on seetapsych/seetapsych-face-hub

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