🌟 Summary
This release introduces a unified, Python-based configuration system for Ultralytics Vision AI solutions, streamlining setup, customization, and code maintenance. 🛠️✨
📊 Key Changes
- Unified Configuration with SolutionConfig:
All solution modules now use a newSolutionConfigPython dataclass to manage settings, replacing the previous scattered YAML and default dictionaries. - Removal of Legacy Config Files:
The oldsolutions.yamland related legacy config code have been deleted for a cleaner codebase. - Refactored Solution Modules:
All solution modules (object counting, tracking, analytics, etc.) now consistently use the centralized configuration, improving reliability and maintainability. - Enhanced Documentation:
Added detailed documentation for the new configuration system and updated usage instructions across the docs. - Improved Default Regions:
Default region settings for tracking solutions have been updated to use more practical, smaller areas, making object tracking easier out of the box. - Scoped Imports for Faster Startup:
Heavy imports likerequests,psutil, andthopare now loaded only when needed, reducing initial load time and improving performance. - Minor Logic Tweaks:
Adjusted some default parameter values and improved argument handling in several solution modules. - Contributor Recognition:
New contributors are now acknowledged in the documentation.
🎯 Purpose & Impact
- Easier Customization:
Users can now configure all solution parameters in one place using a Python class, making setup and adjustments much simpler and less error-prone. - Cleaner, More Robust Code:
Removing legacy YAML files and centralizing configuration reduces bugs and makes the codebase easier to maintain and extend. - Faster Startup Times:
By loading heavy libraries only when needed, the package starts up more quickly, improving the user experience. - Better Out-of-the-Box Experience:
Improved default regions and settings mean users get more accurate results with less manual tweaking. - Enhanced Documentation:
Clearer, more comprehensive docs help both new and experienced users get the most out of Ultralytics solutions. - Community Engagement:
Recognizing contributors helps foster a welcoming and collaborative community.
This update is a big step forward in making Ultralytics Vision AI solutions more user-friendly, efficient, and maintainable. 🚀
What's Changed
- Update region to
640×360image resolution for CI compatibility by @RizwanMunawar in #20452 - Scope requests, psutils, thop imports by @Y-T-G in #20457
ultralytics 8.3.124Create@dataclassSolutionConfig and removesolutions.yamlby @RizwanMunawar in #20455
Full Changelog: v8.3.123...v8.3.124