Skip to main content

Person Detector

Highly performant, and accurate, real-time person tracking with YOLOv10 and ByteTrack

Command-Line Interface

Clone repo and navigate to project directory

git clone git@github.com:k3y5tr0k3/person-detector.git && cd person-detector

Install requirements

pip install -r requirements.txt

Example usage

Detections from Image
python -m src.main --image 'path/to/image.jpg' --detection --show
Detections from Video
python -m src.main --video 'path/to/video.mp4' --detection --show
Trajectory Tracking from Video
python -m src.main -video 'path/to/video.mp4' --tracking --show
For more info, use the help flag
python -m src.main --help

Utility Functions

Convert video to images

python -m src.main --video2images 'path/to/video.mp4

Generate Developer Documentation (Optional)

pdoc ./src

Using as package in your project

Install with PIP

pip install py-person-detector

Example Usage

Detecting people in an image
import pathlib
from person_detector.detector import Detector

detector = Detector(show=True)

image_path = pathlib.Path("path/to/image.jpg")
detector.detect_image(image_path)

Metadata

Release files for person-detector 0.0.5

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

Source distribution (sdist)

Source distribution for person-detector 0.0.5
File Size Uploaded Provenance Actions
person_detector-0.0.5.tar.gz 23.1 kB Without provenance Details for person_detector-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for person-detector 0.0.5
File Interpreter ABI Platform Actions
person_detector-0.0.5-py3-none-any.whl Python 3 none any Details for person_detector-0.0.5-py3-none-any.whl

Total release size: 45.1 kB

Release files / person_detector-0.0.5.tar.gz

Download URL person_detector-0.0.5.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
849f6ed4dd87833eccf446b97ffb6a2833118daeea35bf919fd473c110e39b7a
BLAKE2b-256 checksum
How to use checksums
74cfd0a4682077fb1241da0060248ebeb76129c404cf8379503ca77a6f5a51cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / person_detector-0.0.5-py3-none-any.whl

Download URL person_detector-0.0.5-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f50da980fa6664e405e4f0fc099fb8e15701d0d34269e7cd04586106cf7334c6
BLAKE2b-256 checksum
How to use checksums
65a0590a0ff1947a914c2a8c91edaf14dde3f259b55762933989d82fb39190df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for person-detector 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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