synthface
Face recognition framework trained on synthetic face data from facesynth.
Status: Not functional yet, under development.
Installation
pip install synthface
Requires facesynth>=0.1.0.
Quickstart
from PIL import Image
from synthface import FaceRecognitionModel
model = FaceRecognitionModel()
img_a = Image.open("face_a.png")
img_b = Image.open("face_b.png")
# 1:1 Verification
result = model.verify(img_a, img_b, threshold=0.5)
print(result)
# Extract 512D embedding
embedding = model.extract(img_a)
print(embedding.shape)
License
MIT License. See LICENSE.
Metadata
Release files for synthface 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| synthface-0.0.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| synthface-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / synthface-0.0.1.tar.gz
| Download URL | synthface-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f5d2936aa9cb4516099761cda6486055e58e9108d6e8aecb3b79d7a9c1e647f
|
|
BLAKE2b-256 checksum How to use checksums |
e1902d739f794c92f4a20e30cb8972867e6bfece8c0ae3fdc4b30351ace40594
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / synthface-0.0.1-py3-none-any.whl
| Download URL | synthface-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad55cf088f38cf55c9b41c4d7be7486af45990258acb6e1a01fb99549e21e5be
|
|
BLAKE2b-256 checksum How to use checksums |
8afdf3cb47d9af7c72b14d4ae573f962d202cdef9d245c88281b0db9e6b50250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|