For the complete documentation index, see llms.txt. This page is also available as Markdown.

Windows

Faceplugin open-source Face Recognition Windows SDK. Free on-premise Python sample. Lower accuracy than the commercial HTTP API on port 8083.

Code

Free open-source Face Recognition Windows SDK

Overview

Free open-source Face Recognition sample for Windows (Python). Detect faces, extract embeddings, and compare them on your machine — no Faceplugin cloud.

Accuracy is lower than the commercial Face Recognition Windows SDK. Contact Faceplugin if you need the higher-accuracy native engine.

The Windows library path in face_util/faceutil.py should be:

Setup

Please download anaconda on your computer and install it. We used Windows machine without GPU for testing

  1. Create anaconda environment

    conda create -n facesdk python=3.9

  2. Activate env

    conda activate facesdk

  3. Install dependencies

    pip install -r requirements.txt

  4. Compare face images in the test directory

    python run.py

APIs and Parameters

  • GetImageInfo(image, faceMaxCount): returns face bounding boxes, landmarks and feature embedding

  • get_similarity(feat1, feat2): returns similarity between two feature embeddings. 0 to 100

  • Threshold: value to determine if two embeddings belong to same person, default = 75

FAQ

Same accuracy as the commercial API? No. Use Face Recognition Windows SDK on port 8083 for the commercial engine.

Last updated