Merge remote-tracking branch 'origin/docs/refactor_before_0.20.0_release' into docs/refactor_before_0.20.0_release

This commit is contained in:
SkalskiP 2024-04-24 16:38:47 +02:00
commit e5d1ac7238
2 changed files with 5 additions and 4 deletions

View File

@ -234,7 +234,7 @@ class Detections:
results = model(image)[0]
detections = sv.Detections.from_ultralytics(results)
```
!!! tip
Class names values can be accessed using `detections["class_name"]`.
@ -464,7 +464,7 @@ class Detections:
id2label=model.config.id2label
)
```
!!! tip
Class names values can be accessed using `detections["class_name"]`.

View File

@ -91,9 +91,10 @@ class VertexAnnotator(BaseKeyPointAnnotator):
class EdgeAnnotator(BaseKeyPointAnnotator):
"""
A class that specializes in drawing skeleton edges on images using specified key
points. It connects key points with lines to form the skeleton structure.
A class that specializes in drawing skeleton edges on images using specified key
points. It connects key points with lines to form the skeleton structure.
"""
def __init__(
self,
color: Color = Color.ROBOFLOW,