Skip to main content

Person re-identification component for Vbot framework

Project description

DeepPerson

PyPI version Python 3.11+ License: MIT

A simple person re-identification system with automatic person detection and embedding generation.

Installation

pip install deep-person

Quick Start

from deep_person import DeepPerson

dp = DeepPerson()

# Generate embeddings
result = dp.represent("person.jpg")

# Verify if two images show the same person
result = dp.verify("person1.jpg", "person2.jpg")
print(f"Same person: {result['verified']}")

Features

  • Automatic person detection - YOLO-based detection
  • Multi-modal embeddings - Body (2048-dim) + Face (512-dim) or via Model Registry
  • Identity verification - Cosine/Euclidean distance metrics
  • GPU acceleration - Automatic CUDA detection with CPU fallback
  • Batch processing - Efficient multi-image handling

Requirements

  • Python 3.11+
  • Models downloaded automatically on first use
  • Optional: CUDA GPU for faster processing

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

deep_person-0.2.0.tar.gz (283.5 kB view details)

Uploaded Source

Built Distribution

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

deep_person-0.2.0-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file deep_person-0.2.0.tar.gz.

File metadata

  • Download URL: deep_person-0.2.0.tar.gz
  • Upload date:
  • Size: 283.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for deep_person-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d015017a1c9fcde139e2c866ccef4123eee3000b3ae242152db0a9b7b12ccd7d
MD5 1120519ad82e292937104717c899bc50
BLAKE2b-256 750a093fa1343efbbdebb5646d96d3744ba9fd04d9b993bdad14e78d87cdac93

See more details on using hashes here.

File details

Details for the file deep_person-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: deep_person-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 46.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for deep_person-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f62a2e75f1bc5c8cb5b7602fc5324ff3001cf32bfeff10e22e4730dcfd5de5d9
MD5 b3ebf9bdeb69ce9f4f9e8957990ae681
BLAKE2b-256 c58b3029c92437668218fa52338475dae57fae094f2e63bda971cce8b5c9a1e2

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