-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update heatmap and track example documentation and requirements #1727
Conversation
- Add detailed run instructions with comments - Update requirements.txt with all necessary dependencies - Add instructions for downloading YOLO weights
@shuuse did you push everything ? |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helo.l this or not enough merge it 👍 I am sorry, I am closing the PR, feel free to open If this PR If you have question or you can open new for feature them I am happy to ask well.
Onurlp S.
Mechatronic Engineering
opencv-python>=4.8.0 | ||
numpy>=1.22.0 | ||
torch>=2.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This packages already coming with ultralytics and supervision so it doesn't needs to be added.
Before running the script, make sure to download the YOLO weights: | ||
```bash | ||
# Download YOLOv8n weights (if you don't have your own weights file) | ||
wget https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt -O weight.pt | ||
# Or using curl | ||
curl -L https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt -o weight.pt | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YOLO's weight file is automatically when you run the script we technically we don't files because YOLO's itself can download automatically
Then run the script: | ||
```bash | ||
# Run with default demo video (people-walking.mp4) | ||
python script.py \ | ||
--source_weights_path weight.pt \ | ||
--confidence_threshold 0.3 \ | ||
--iou_threshold 0.5 \ | ||
--target_video_path output_video.mp4 | ||
|
||
# Or run with your own video file | ||
python script.py \ | ||
--source_weights_path weight.pt \ | ||
--source_video_path input_video.mp4 \ | ||
--source_video_path your_video.mp4 \ | ||
--confidence_threshold 0.3 \ | ||
--iou_threshold 0.5 \ | ||
--target_video_path output_video.mp4 | ||
--target_video_path output_video.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pretty much show only how to run videe out and using default video file and downoad viddo
Description
This PR updates the Heatmap and track example documentation and requirements to improve user experience and clarity.
Changes made:
Type of change
How has this change been tested?
Any specific deployment considerations
Docs