A face recognition and embedding extraction library
Project description
NexFace
NexFace is a modular face recognition library built on top of modern deep learning models. It supports face detection, embedding extraction, clustering, and identification using ONNX, FaceNet, and Scikit-learn-compatible algorithms.
🚀 Features
- ✅ Face Detection (YuNet with OpenCV & ONNX)
- ✅ Face Embedding Extraction (FaceNet
.h5) - ✅ Clustering (DBSCAN & HDBSCAN)
- ✅ Recognition via Prototypes
- ✅ Clean and extensible object-oriented design
🧠 How It Works
-
Face Detection:
Uses YuNet ONNX model viacv2.FaceDetectorYN. -
Embedding Extraction:
FaceNet model (Keras.h5) extracts 128-D facial embeddings. -
Clustering & Prototypes:
Cluster face embeddings via DBSCAN or HDBSCAN.
Compute cluster centers (prototypes) for recognition. -
Recognition:
New face embeddings are compared against cluster prototypes using cosine or Euclidean similarity.
You can also install using
pip install -r requirements.txt.
📌 To Do
- Add ArcFace / InsightFace support
- Improve alignment and augmentation
- Evaluation metrics (precision, recall, etc.)
🧑💻 Author
Fatih Dağdeviren
fatihdagdeviren21@gmail.com
GitHub: github.com/fatihdagdeviren
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexface-0.0.9.tar.gz.
File metadata
- Download URL: nexface-0.0.9.tar.gz
- Upload date:
- Size: 85.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28c4277fbe8b520043427a0b841eda7e28cab91b61b0914b53a0a90befe2e56d
|
|
| MD5 |
6032b388daee498064c9eb383975394f
|
|
| BLAKE2b-256 |
beaf7110ea060f550cf87fbb358e647b9d01bf8c4d45f45706ab8a38f68072e8
|
File details
Details for the file nexface-0.0.9-py3-none-any.whl.
File metadata
- Download URL: nexface-0.0.9-py3-none-any.whl
- Upload date:
- Size: 85.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa374afd9c5fe02a8f460ec1c36946be4afbd5b724ac10fc939ba182a029b99d
|
|
| MD5 |
4558818d06c5b250bbc384ccb1effbc2
|
|
| BLAKE2b-256 |
1cfb8d4d530f8103d0e0579727fff199ed4e65fb836365ce390342718eb94dae
|