-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
Highlight the closest target with a different color in predictions #13018
base: master
Are you sure you want to change the base?
Highlight the closest target with a different color in predictions #13018
Conversation
I have read the CLA Document and I sign the CLA 1 out of 2 committers have signed the CLA. |
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.
👋 Hello @1260635600, thank you for submitting a YOLOv5 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is up-to-date with
ultralytics/yolov5
master
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge master
locally. - ✅ Verify all YOLOv5 Continuous Integration (CI) checks are passing.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee
This pull request adds a feature to highlight the closest detected target with a different color in the predictions made by YOLOv5. The closest target is determined based on its distance from a reference point.
Changes made:
find_closest_target
indetect.py
to calculate and identify the closest target.detect
function to incorporate the new highlighting feature.Testing:
This feature enhances the detection capabilities of YOLOv5, making it easier to identify the nearest object, which can be useful in applications like autonomous navigation and object tracking.
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Enhanced object detection in YOLOv5 with closer object highlight and streamlined code for performance.
📊 Key Changes
🎯 Purpose & Impact
📈 Expect upgrades in performance and user experience for applications leveraging YOLOv5 for object detection. 🕵️♂️🔍