A free, open-source face recognition toolkit for Windows and Linux — face detection, landmark detection, feature embeddings, and face similarity comparison, running entirely on-premise in Python.
The Open-Source Face Recognition SDK is FacePlugin's free, openly licensed toolkit for teams that want to evaluate on-premise face recognition before committing to a licensed SDK, or that need a fully open codebase they can audit and modify directly. It runs on CPU alone — a GPU is optional — and keeps every image and embedding on the machine running it.
It covers the same core building blocks as FacePlugin's licensed SDKs: face detection, landmark detection, template (embedding) extraction, and similarity comparison between two faces. It does not include the passive-liveness, anti-spoofing, or 1:N large-gallery search features that ship in the licensed Face Recognition and Face Liveness Detection SDKs — for those, see the full SDK lineup.
conda create -n facesdk python=3.9 then conda activate facesdk.pip install -r requirements.txt.python run.py.from face_recognition_sdk import FaceRecognition
face_sdk = FaceRecognition()
faces1 = face_sdk.GetImageInfo("test/1.jpg", faceMaxCount=1)
faces2 = face_sdk.GetImageInfo("test/2.png", faceMaxCount=1)
if faces1 and faces2:
similarity = face_sdk.get_similarity(faces1[0]['embedding'], faces2[0]['embedding'])
print(f"Similarity: {similarity}%")
print(f"Same person: {similarity >= 75}")
Yes. It's published as open source on GitHub and doesn't require a license key or machine activation, unlike FacePlugin's commercial SDKs.
The repository is marked "Open Source" on GitHub. Check the repository’s own LICENSE file for the exact terms before using it in a commercial product.
The licensed SDK adds passive liveness detection, 1:N identification at scale, native mobile builds (Android, iOS, Flutter, React Native), and vendor support — this open-source toolkit covers detection, landmarks, and 1:1 similarity comparison in Python only.
No. It's designed to run entirely on your own Windows or Linux machine; nothing in the documented API calls out to a remote server.
Talk to our team about the licensed SDKs — same on-premise model, with 1:N search, native mobile platforms, and liveness detection included.