Registry / ai-ml / face-recognition-models

face-recognition-models

JSON →
library0.3.0pypypiunverified

Models used by the face_recognition package. Version 0.3.0 provides pre-trained models for face detection, facial landmarks, and face recognition (dlib models). The package is a dependency of face_recognition, not typically installed standalone. Release cadence is low.

pip install face-recognition-models
INSTALL
IMPORT
SIG · FACE-RECOGNITION-M
F
face-recognition-models
ai-mlpythonv0.3.0
Install
16.0s avg
Import
330ms
Disk
143MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.218s · 145.3MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 16.0s · import 0.178s · 146MB
143MB installed
● package 143MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

face_recognition_models
✓ import face_recognition_models
✗ import face_recognition_models

Locate the directory containing pre-trained models.

import face_recognition_models print(face_recognition_models.models_path()) from face_recognition_models import models_path import os model_path = os.path.join(models_path(), 'dlib_face_recognition_resnet_model_v1.dat') print(model_path)
Debug
Known issues
gotchaThis package simply downloads model files; it is a dependency of face_recognition. Install it independently only if you need the model files directly.
fix
Use face_recognition package for typical usage.
affects: all
gotchaThe models_path() function returns the directory where models are stored, not a single model file. Many users incorrectly assume it's a single model.
fix
Use models_path() to get the directory, then construct the full path to the specific model file.
affects: all
Upgrade
Version history
0.3.0latest on PyPI · released Sep 28, 2017
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
face-recognition-models — pip install face-recognition-models · libregistry