Skip to main content

No project description provided

Project description

facetrackr 🕵️‍♂️🎥

A Face Recognition and Timestamp Extraction Tool for Videos

Overview

facetrackr is a Python package that allows users to detect and recognize faces in videos using AWS Rekognition. It provides a seamless way to upload face images to a collection, process videos, and retrieve timestamps where the face is detected.

Features

✅ Add a face image to an AWS Rekognition collection
✅ Process a video to detect the given face
✅ Retrieve timestamps of face appearances
✅ Easy-to-use command-line interface


Installation

Ensure you have Python 3.7+ installed. Then install facetrackr using:

pip install facetrackr

Usage

After installing, run the following command in your terminal:

python -m facetrackr

You will be prompted to enter:

  1. The path of the face image you want to recognize.
  2. The path of the video in which you want to detect the face.

Example

Enter the path of the face image: ./images/person.jpg
Enter the path of the video: ./videos/sample.mp4

If the face is found in the video, the output will be:

Starting face detection in video...

Final Detection Report:
Face detected at 12.5 seconds with ID: person_123
Face detected at 28.7 seconds with ID: person_123

Requirements

Before running the package, install dependencies:

pip install -r requirements.txt

AWS Configuration

Since this package relies on AWS Rekognition, ensure you have:

  1. An AWS account with Rekognition enabled.
  2. AWS credentials configured using:
    aws configure
    
  3. The necessary permissions in IAM for Rekognition.

License

This project is licensed under the MIT License. See the LICENSE file for details.


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

facetrackr-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

facetrackr-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file facetrackr-0.1.1.tar.gz.

File metadata

  • Download URL: facetrackr-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for facetrackr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fdedbd79a777d1fb9c93d0c62b9071bd13056655a7bd4fc82f32efc86519c6ef
MD5 b87d314dee8fb5effd6a93063b08f299
BLAKE2b-256 5b7b7cd92bb4c7add1383ccd8679f4f5c3d8361dd552f1ccfdf7cfce5d5d1db5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: facetrackr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for facetrackr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34c9f88d4f7c089aeb35017ed58b066c72069a6376294c2b0c5fc04fd85de8b7
MD5 a4d7a7c2eba6bd0d431160fe0b62eb27
BLAKE2b-256 ccd892270bbe3fbce4070583a3e9e3bf6f699377de4a6eff18911336d19c6894

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