A package for face recognition in images and videos
Project description
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
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 face_recognition_pkg-0.1.1.tar.gz.
File metadata
- Download URL: face_recognition_pkg-0.1.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b98c6dddc0429e777c49ef93791ad477345f6f0b9ba0f171df211e2e0343026
|
|
| MD5 |
a279be2ea7bbf50921f0b83b38a498c8
|
|
| BLAKE2b-256 |
5c09e44e9dee60a820c7df705121056b19019e4cdae4863000e5ebb248fdc31a
|
File details
Details for the file face_recognition_pkg-0.1.1-py3-none-any.whl.
File metadata
- Download URL: face_recognition_pkg-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ac1954636f16592eeb27ae097f3c5a7682ec8f55e2b7bbc7582418aedc9a824
|
|
| MD5 |
5aa388b55d676ff85f845117124b5322
|
|
| BLAKE2b-256 |
854ddedbb1066032c7dfde996b3d4f57bb3821129ca0afb55391486f15ca997e
|