-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and enhance Ultralytics model utilities for improved OBB han…
…dling - Reintroduced the import of `ObjectPrediction` in `base.py` for better modularity. - Improved code readability in `ultralytics.py` by restructuring the concatenation of OBB data and resizing masks. - Cleaned up whitespace in `cv.py` to enhance code clarity in the OBB to COCO conversion function. These changes contribute to a more maintainable and user-friendly codebase for the SAHI library's Ultralytics model integration.
- Loading branch information
Showing
3 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters