Enterprise-grade face biometric SDK
Project description
EvoBioMat — Enterprise-Grade Face Biometric Python SDK
EvoBioMat is a secure, privacy-first, enterprise-grade Python SDK for face biometrics. It allows developers to implement Face ID registration and verification with minimal code, backed by secure encryption and generic database support.
Features
- Enterprise-Ready: Designed for reliability and scale.
- Secure & Privacy-First: AES-256 encryption for all biometric data. No raw images are ever stored.
- Offline-Capable: Works without internet access for core biometric operations.
- Deterministic: Consistent encoding generation.
- Auditable: Clear codebase and explicit error handling.
Installation
Enterprise / Production Requirements
For production environments (Windows Server, Linux), you must have C++ build tools installed to compile the high-performance biometric engine (dlib).
Windows Setup: Run the included setup script as Administrator:
setup_enterprise_env.bat
Or manually install:
- CMake:
pip install cmake - Visual Studio Build Tools: Select "Desktop development with C++".
Standard Installation
Once dependencies are ready:
pip install evoBioMat
Quick Start
Prerequisites
- Python 3.10+
- MySQL Database
- Webcam (for capture)
Usage
from evobiomat import EvoBioMat
import os
# Configuration (Use environment variables in production)
db_config = {
"host": "localhost",
"user": "root",
"password": "password",
"database": "biometrics_db"
}
# The encryption key should be a base64url-encoded 32-byte key.
# You can generate one using: cryptography.fernet.Fernet.generate_key()
enc_key = os.environ.get("EVOBIOMAT_KEY", "YOUR_SECURE_KEY_HERE")
# Initialize SDK
bio = EvoBioMat(db_config=db_config, encryption_key=enc_key)
# 1. Register a User
print("Look at the camera for registration...")
try:
if bio.register("user_123"):
print("Registration successful!")
except Exception as e:
print(f"Registration failed: {e}")
# 2. Verify a User
print("Look at the camera for verification...")
result = bio.verify()
if result.is_verified:
print(f"Access Granted: {result.user_id}")
else:
print("Face Not Recognized")
Security
EvoBioMat uses AES-256 (via cryptography library primitives or Fernet/GCM) to encrypt face encodings at rest. Keys must be managed securely by the implementing application.
License
MIT
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 evobiomat-1.0.0.tar.gz.
File metadata
- Download URL: evobiomat-1.0.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae77f75f415c9e4c079052b2c62c01e7e86e8a6d12fa10f066eb998d6edf2778
|
|
| MD5 |
e48bda64d51035b220ac8f8cfc2133e6
|
|
| BLAKE2b-256 |
7bf39684ea5ef3aad952ca4eeb96a1553a9515263395eb41b649340bdbf087b5
|
File details
Details for the file evobiomat-1.0.0-py3-none-any.whl.
File metadata
- Download URL: evobiomat-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39bb9adf5f3d3fdf0a385c57eeb9edbd719434db23ba930d84150ac0ef75d404
|
|
| MD5 |
135c123e6f522a8b6cbb54c9086fa86e
|
|
| BLAKE2b-256 |
6f1abbf17c57c519b61b67ffefe4f03dbf0f2d694ea179e9293ea2398a13d54e
|