Skip to main content

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

Metadata

Release files for deep-person 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deep-person 0.2.0
File Size Uploaded
deep_person-0.2.0.tar.gz 283.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deep-person 0.2.0
File Interpreter ABI Platform
deep_person-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 330.2 kB

Release files / deep_person-0.2.0.tar.gz

Download URL deep_person-0.2.0.tar.gz
Size 283.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d015017a1c9fcde139e2c866ccef4123eee3000b3ae242152db0a9b7b12ccd7d
BLAKE2b-256 checksum
How to use checksums
750a093fa1343efbbdebb5646d96d3744ba9fd04d9b993bdad14e78d87cdac93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / deep_person-0.2.0-py3-none-any.whl

Download URL deep_person-0.2.0-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f62a2e75f1bc5c8cb5b7602fc5324ff3001cf32bfeff10e22e4730dcfd5de5d9
BLAKE2b-256 checksum
How to use checksums
c58b3029c92437668218fa52338475dae57fae094f2e63bda971cce8b5c9a1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page