Face Recognition Package
A Python package for face detection and recognition in images and videos.
Installation
Basic Installation
pip install face_recognition_pkg
Hardware-specific Installation
For CPU-only environments:
pip install face_recognition_pkg[cpu]
For GPU-accelerated environments:
pip install face_recognition_pkg[gpu]
Usage
Face Detection
from src.model_face_detection.face_model import FaceDetection
# Initialize face detection
face_object = FaceDetection()
# Process a video
face_object.process_video(
source_video_path="path/to/video.mp4",
target_video_path="path/to/output.mp4"
)
Image Indexing and Retrieval
from src.indexing.index import ImageRetriever
# Initialize image retriever with a dataset
retriever = ImageRetriever(path_to_dataset_with_images="path/to/faces/dataset")
# Search for similar faces
Features
- Face detection in images and videos
- Face recognition using FAISS index (supports both CPU and GPU)
- Batch processing of videos
- Customizable detection parameters
License
MIT
Metadata
Release files for face-recognition-pkg 0.1.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 | Provenance | |
|---|---|---|---|---|
| face_recognition_pkg-0.1.1.tar.gz | 8.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| face_recognition_pkg-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / face_recognition_pkg-0.1.1.tar.gz
| Download URL | face_recognition_pkg-0.1.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b98c6dddc0429e777c49ef93791ad477345f6f0b9ba0f171df211e2e0343026
|
|
BLAKE2b-256 checksum How to use checksums |
5c09e44e9dee60a820c7df705121056b19019e4cdae4863000e5ebb248fdc31a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / face_recognition_pkg-0.1.1-py3-none-any.whl
| Download URL | face_recognition_pkg-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ac1954636f16592eeb27ae097f3c5a7682ec8f55e2b7bbc7582418aedc9a824
|
|
BLAKE2b-256 checksum How to use checksums |
854ddedbb1066032c7dfde996b3d4f57bb3821129ca0afb55391486f15ca997e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for face-recognition-pkg 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.