FacePlugin
Get in Touch
Windows

Face Recognition SDK for Windows

Add offline 1:N identification and 1:1 verification to a Windows application through a local REST API and Python bindings. Processing stays entirely on the machine it runs on.

CPU-only, offlineLocal REST APIPython bindings
Woman scanning her face with a phone for 1:1 verification on the Windows SDK
Identity Verified
Face Match 99.98%
Requirements

What You Need to Run It on Windows

These are the exact minimum and recommended requirements published in the FaceRecognition-Windows repository — check the repo directly for the latest version, since SDK requirements can change between releases.

OS (min / recommended)Windows 10 x64 / Windows 11
Python (min / recommended)3.10+ / 3.12
CPU (min / recommended)2 cores / 4 cores
RAM (min / recommended)4 GB / 8 GB
Disk (min / recommended)4 GB / 8 GB
EditionsLite (standard recognition engine) or Plus (premium engine for higher-accuracy deployments), with the same API
Quick Start

Install and Activate

Install the SDK, then activate it with a license key before calling any recognition function — every platform follows this same activate-then-initialize pattern.

  • Clone the repository and download the Lite or Plus runtime from the Releases page into lib\cpu\ (the native binaries and models are too large for GitHub).
  • Run pip install -r requirements.txt, then run.bat to start the local REST API on port 8092, with interactive Swagger docs.
  • Activate with POST /api/activate (send the license key as plain text), then enroll people and identify faces against the gallery on your own PC.
bat
curl -s http://127.0.0.1:8092/api/health
curl -s -X POST http://127.0.0.1:8092/api/activate -H "Content-Type: text/plain" --data-binary @license.txt
curl -s http://127.0.0.1:8092/api/licenseStatus

REM Enroll a person, then identify a probe photo (1:N)
curl -s -X POST http://127.0.0.1:8092/api/v1/persons -F "image=@anna.jpg" -F "name=Anna Lee"
curl -s -X POST http://127.0.0.1:8092/api/v1/identify -F "image=@probe.jpg"
Platform notes

Windows Server Notes

Setup and operating details from the FaceRecognition-Windows README.

Prerequisites

Windows 10 or 11 x64 and Python 3.10 or newer. The product is CPU-only. Run pip install -r requirements.txt then run.bat; the API listens on port 8092.

Runtime files go directly in lib\cpu

Extract the runtime archive and put every file directly into .\lib\cpu\, not inside a nested subfolder. The folder is empty on GitHub because the binaries are too large.

Versioned and legacy routes

Routes live under /api/v1, and every route also answers at the older path without /v1 (for example /api/match), so older integrations keep working.

First run needs no license

Start the API unlicensed, copy the machine code from the terminal or GET /api/v1/machinecode, send it to FacePlugin, then activate.

Built-in demo

The Gradio demo covers 1:N identification, gallery, face detection, quality assessment and 1:1 verification, so you can check results before writing client code.

Environment settings

Defaults are safe: the API binds to 127.0.0.1, uploads are limited to 20 MB, and folder import stays off until you set FACESDK_IMPORT_ROOT.

On Linux servers use the Docker image with the same endpoints. For on-device matching in a mobile app, see the Android and iOS SDKs.

Licensing

How Licensing Works

Licenses are offline and bound to the machine the SDK runs on — the offline cryptography needed to validate a license key is bundled in the SDK itself, with no external OpenSSL install required. Send FacePlugin your machine code to get a key.

FAQ

Frequently Asked Questions

Does the Windows SDK send biometric data to the cloud?

No. Every stage of face recognition runs on your own server or directly on the device, depending on the platform – biometric templates never leave an environment you control.

How is the SDK licensed?

Licenses are offline and bound to the machine code of the Windows machine running the server. Start the API without a license, copy the machine code, send it to FacePlugin, then activate with your key. There are no per-call or per-match fees once licensed.

Where can I see the full source and open an issue?

The FaceRecognition-Windows integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.

Related

Pairs Well With

Ready to Add Face Recognition to Your Windows App?

Talk to our team to get a license key and a 15-day evaluation period started.