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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

seetapsych_face_hub-0.0.1-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file seetapsych_face_hub-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for seetapsych_face_hub-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2725af84207d7bc8791a1a4acd2526374ad1776d5c77d02a1c4d21afe7235de
MD5 2412f0d8beda6024229e4d710a4c35f6
BLAKE2b-256 7adae2a68b8df1189d4ddd45f7f5025f64994916d74b05f902cfb4701567f6b4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3.post1

2 files

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

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