diff --git a/docs/annotators.md b/docs/annotators.md index 796f1b24..4b4df152 100644 --- a/docs/annotators.md +++ b/docs/annotators.md @@ -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 + ) ```
diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index 5b206e35..7b11c7a6 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -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/