Face Recognition Engine
Project description
FaceEngine is a lightweight python library that provides an easy interface to work with face recognition tasks.
>>> from face_engine import FaceEngine
>>> engine = FaceEngine()
>>> engine.fit(['bubbles1.jpg', 'drive.jpg'], [1, 2])
>>> engine.make_prediction('bubbles2.jpg')
([1], [(270, 75, 406, 211)])
Installation
It is distributed on PyPi, and can be installed with pip:
$ pip install face-engine
FaceEngine is supported only on Python 3.6 and above.
Models
FaceEngine is built on top of three model interfaces Detector, Embedder and Estimator (see models), and leans on user provided implementations of these models.
Installation provides optional dlib models.
These implementations are using dlib python api and dlib provided pre-trained model files, which should be fetched manually:
$ fetch_models
To work with your own custom models you have to implement required models and import it. FaceEngine models are used to register all inheriting imported subclasses (subclass registration PEP 487).
For more information read the full documentation.
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
File details
Details for the file face-engine-2.0.0.tar.gz
.
File metadata
- Download URL: face-engine-2.0.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783b8f33402ee9559ec844c8c2bb763c5ad8bf8afb642a5d0fc87f392d9aced8 |
|
MD5 | c9e4a3766df05440664bb8ca3814b3f6 |
|
BLAKE2b-256 | c6aa133fda734d67a4d3ddbf982362f33259ab00b8a435cad26b3afe1eb36085 |
File details
Details for the file face_engine-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: face_engine-2.0.0-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e075e10d0db5d4599df39680bbf0791388204e51296b6dc0650a58a77a57ac08 |
|
MD5 | 2896f43a858dfb1e1b464b851d1bddda |
|
BLAKE2b-256 | 1d8293357d8626465efbb6a4508f460125cdd4227eafee35091d1233a9321203 |