Person re-identification component for Vbot framework
Project description
DeepPerson
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
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
deep_person-0.2.0.tar.gz
(283.5 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d015017a1c9fcde139e2c866ccef4123eee3000b3ae242152db0a9b7b12ccd7d
|
|
| MD5 |
1120519ad82e292937104717c899bc50
|
|
| BLAKE2b-256 |
750a093fa1343efbbdebb5646d96d3744ba9fd04d9b993bdad14e78d87cdac93
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f62a2e75f1bc5c8cb5b7602fc5324ff3001cf32bfeff10e22e4730dcfd5de5d9
|
|
| MD5 |
b3ebf9bdeb69ce9f4f9e8957990ae681
|
|
| BLAKE2b-256 |
c58b3029c92437668218fa52338475dae57fae094f2e63bda971cce8b5c9a1e2
|