🌟 Summary
This release streamlines how bounding boxes are drawn and improves overall usability, robustness, and documentation clarity across the Ultralytics ecosystem. 🖼️✨
📊 Key Changes
- Simplified Bounding Box Drawing: The
box_label
function no longer requires arotated
parameter; it now automatically detects and handles both standard and oriented bounding boxes. - Improved CLI Error Messages: Command-line help and error messages now display valid options in a clearer, list-based format.
- Updated Minimum Requirements: Documentation now reflects updated minimum versions—Python 3.8+ and PyTorch 1.8+.
- More Robust Object Counting: Enhanced checks prevent errors when tracking data is missing or incomplete, especially for oriented bounding boxes.
- Smarter Mouse Event Handling: Mouse callbacks for distance measurement are now only enabled when display is active and supported, reducing unnecessary processing in headless environments.
🎯 Purpose & Impact
- Cleaner, Easier Code: Developers benefit from simpler, more intuitive code for drawing bounding boxes, reducing the chance for mistakes and making future updates easier.
- Better User Experience: Clearer CLI messages and robust error handling make Ultralytics tools more accessible and reliable for all users.
- Accurate Documentation: Users are guided to use supported Python and PyTorch versions, helping avoid compatibility issues.
- Improved Automation & Server Use: Smarter handling of mouse events ensures smooth operation in automated or non-GUI environments.
- No Breaking Changes: These updates are behind-the-scenes improvements—there’s no change to how you use Ultralytics models or features day-to-day.
🚀 This release is all about making Ultralytics tools smoother, smarter, and more user-friendly for everyone!
What's Changed
- Update
Minimum requirements
in docs by @Laughing-q in #20743 - Refine OBB check by validating
track_data
and itsid
by @RizwanMunawar in #20741 - Remove
frozenset
fromValueError
logs by @RizwanMunawar in #20746 - Disable
setMouseCallback
whereimshow
not supported by @RizwanMunawar in #20753 ultralytics 8.3.142
SimplifyAnnotator.box_label
by @Laughing-q in #20754
Full Changelog: v8.3.141...v8.3.142