docs: 📝 >>>/... removed from obb docs and code example

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
Onuralp SEZER 2024-01-24 19:31:46 +03:00
parent 164b9bedce
commit a5bef3b15e
No known key found for this signature in database
GPG Key ID: CF0835DFDF14CA38
2 changed files with 16 additions and 16 deletions

View File

@ -69,16 +69,16 @@ status: new
=== "OrientedBox"
```python
>>> import supervision as sv
import supervision as sv
>>> image = ...
>>> detections = sv.Detections(...)
image = ...
detections = sv.Detections(...)
>>> oriented_box_annotator = sv.OrientedBoxAnnotator()
>>> annotated_frame = oriented_box_annotator.annotate(
... scene=image.copy(),
... detections=detections
... )
oriented_box_annotator = sv.OrientedBoxAnnotator()
annotated_frame = oriented_box_annotator.annotate(
scene=image.copy(),
detections=detections
)
```
<div class="result" markdown>

View File

@ -135,16 +135,16 @@ class OrientedBoxAnnotator(BaseAnnotator):
Example:
```python
>>> import supervision as sv
import supervision as sv
>>> image = ...
>>> detections = sv.Detections(...)
image = ...
detections = sv.Detections(...)
>>> oriented_box_annotator = sv.OrientedBoxAnnotator()
>>> annotated_frame = oriented_box_annotator.annotate(
... scene=image.copy(),
... detections=detections
... )
oriented_box_annotator = sv.OrientedBoxAnnotator()
annotated_frame = oriented_box_annotator.annotate(
scene=image.copy(),
detections=detections
)
```
![oriented-box-annotator-example](https://media.roboflow.com/