No project description provided
Project description
YoloZone
YoloZone is a powerful computer vision toolkit built on YOLOv8, providing intuitive interfaces for object detection, pose estimation, and object tracking. It simplifies complex computer vision tasks with easy-to-use APIs and comprehensive documentation.
Features
Object Detection
- Detect and classify objects in images and videos
- Support for custom models and multiple detection strategies
- Real-time processing capabilities
- Configurable confidence thresholds
Pose Estimation
- Advanced human pose detection and keypoint analysis
- Real-time pose tracking
- 17-point keypoint detection
- Angle and distance measurements between keypoints
- Support for multiple people in frame
Object Tracking
- Robust object tracking across video frames
- Motion pattern analysis
- Trajectory data generation
- Line crossing detection
- Multi-object tracking
Installation
pip install yolozone
Quick Start
Object Detection
from yolozone import Objects
# Initialize detector
detector = Objects()
# Detect objects in an image
results = detector.detect('image.jpg')
# Process video stream
detector.process_video('video.mp4', output='output.mp4')
Pose Estimation
from yolozone import Pose
# Initialize pose estimator
pose = Pose()
# Detect poses in an image
results = pose.detect('image.jpg')
# Get keypoints
for detection in results:
keypoints = pose.get_keypoints(detection)
print(f"Found person with {len(keypoints)} keypoints")
Object Tracking
from yolozone import Tracker
# Initialize tracker
tracker = Tracker()
# Track objects in video
tracks = tracker.track_video('video.mp4')
# Analyze motion patterns
for track in tracks:
motion = tracker.analyze_motion(track)
print(f"Track {track.id}: {motion.pattern}")
Keypoint Reference
The pose estimation module uses the following 17 keypoints:
| ID | Keypoint | ID | Keypoint |
|---|---|---|---|
| 0 | Nose | 9 | Left Wrist |
| 1 | Left Eye | 10 | Right Wrist |
| 2 | Right Eye | 11 | Left Hip |
| 3 | Left Ear | 12 | Right Hip |
| 4 | Right Ear | 13 | Left Knee |
| 5 | Left Shoulder | 14 | Right Knee |
| 6 | Right Shoulder | 15 | Left Ankle |
| 7 | Left Elbow | 16 | Right Ankle |
| 8 | Right Elbow |
Documentation
Visit our comprehensive documentation for:
- Detailed API references
- Code examples
- Implementation guides
- Best practices
- Troubleshooting tips
Requirements
- Python 3.7+
- ultralytics (YOLOv8)
- opencv-python
- numpy
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
- Nushan Kodikara
- GitHub: @nushankodikara
- LinkedIn: Nushan Kodikara
- Email: nushankodi@gmail.com
References
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 Distributions
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 yolozone-0.0.3-py3-none-any.whl.
File metadata
- Download URL: yolozone-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68c9c3edc8c06cc988ddeb88b7d6e65a6438f980c1c9bb70f76111b6702d6e49
|
|
| MD5 |
8c0f0a0fca28fad8867ce19c30eca701
|
|
| BLAKE2b-256 |
a56dece97ac943dfce64259549d2f109fcc060c4fde203854b561f1ead298207
|