Windows
Faceplugin open-source Face Recognition Windows SDK. Free on-premise Python sample. Lower accuracy than the commercial HTTP API on port 8083.
Code
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
Create anaconda environment
conda create -n facesdk python=3.9Activate env
conda activate facesdkInstall dependencies
pip install -r requirements.txtCompare face images in the
testdirectorypython 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.
Related documentation
Lower accuracy than the commercial Windows HTTP API.
Last updated
