A high level API for detecting and tracking people.
Project description
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
from py_person
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
person_detector-0.0.2.tar.gz
(19.6 kB
view details)
Built Distribution
File details
Details for the file person_detector-0.0.2.tar.gz
.
File metadata
- Download URL: person_detector-0.0.2.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca9ba8be7b474bf36e66c8b63ecd5ea1406db332df97e2ef0cb9ff11e5b43867 |
|
MD5 | f126b2231612fe1497c5bb412a3549f7 |
|
BLAKE2b-256 | a5c47ce0535ddbdccf29320e661b541f4d28d10936f65661b366c48d10419819 |
File details
Details for the file person_detector-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: person_detector-0.0.2-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999ae2a6398bb6b08884cbe3a6202da8b936b33fb3f0d3f78521b9c1ec106ebc |
|
MD5 | f268cfd1043f14a6449af2d5195a0482 |
|
BLAKE2b-256 | cc19f367d57234a9f6e053cf4f29138f3a2d94434f9ebd943035a61f8716778c |