ultralytics 8.1.42 add YOLOv9 Segment models (#9296)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
1e547e60a0
commit
3208eb72ef
25 changed files with 236 additions and 93 deletions
|
|
@ -211,7 +211,8 @@ boxes.bboxes
|
|||
See the [`Bboxes` reference section](../reference/utils/instance.md#ultralytics.utils.instance.Bboxes) for more attributes and methods available.
|
||||
|
||||
!!! tip
|
||||
Many of the following functions (and more) can be accessed using the [`Bboxes` class](#bounding-box-horizontal-instances) but if you prefer to work with the functions directly, see the next subsections on how to import these independently.
|
||||
|
||||
Many of the following functions (and more) can be accessed using the [`Bboxes` class](#bounding-box-horizontal-instances) but if you prefer to work with the functions directly, see the next subsections on how to import these independently.
|
||||
|
||||
### Scaling Boxes
|
||||
|
||||
|
|
@ -258,7 +259,7 @@ new_boxes#(1)!
|
|||
|
||||
1. Bounding boxes scaled for the new image size
|
||||
|
||||
### Bounding Box Format Conversions
|
||||
### Bounding Box Format Conversions
|
||||
|
||||
#### XYXY → XYWH
|
||||
|
||||
|
|
@ -351,6 +352,7 @@ image_with_bboxes = ann.result()
|
|||
1. Names can be used from `model.names` when [working with detection results](../modes/predict.md#working-with-results)
|
||||
|
||||
#### Oriented Bounding Boxes (OBB)
|
||||
|
||||
```python
|
||||
import cv2 as cv
|
||||
import numpy as np
|
||||
|
|
@ -387,7 +389,7 @@ image_with_obb = ann.result()
|
|||
|
||||
See the [`Annotator` Reference Page](../reference/utils/plotting.md#ultralytics.utils.plotting.Annotator) for additional insight.
|
||||
|
||||
## Miscellaneous
|
||||
## Miscellaneous
|
||||
|
||||
### Code Profiling
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue