Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

face_recognition_pkg-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

face_recognition_pkg-0.1.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

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

Hashes for face_recognition_pkg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5b98c6dddc0429e777c49ef93791ad477345f6f0b9ba0f171df211e2e0343026
MD5 a279be2ea7bbf50921f0b83b38a498c8
BLAKE2b-256 5c09e44e9dee60a820c7df705121056b19019e4cdae4863000e5ebb248fdc31a

See more details on using hashes here.

File details

Details for the file face_recognition_pkg-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for face_recognition_pkg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ac1954636f16592eeb27ae097f3c5a7682ec8f55e2b7bbc7582418aedc9a824
MD5 5aa388b55d676ff85f845117124b5322
BLAKE2b-256 854ddedbb1066032c7dfde996b3d4f57bb3821129ca0afb55391486f15ca997e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page