diff --git a/docs/annotators.md b/docs/annotators.md index 316f37e0..f7dc8ece 100644 --- a/docs/annotators.md +++ b/docs/annotators.md @@ -124,7 +124,7 @@ comments: true
- ![circle-annotator-example](https://media.roboflow.com/supervision-annotator-examples/dot-annotator-example-purple.png){ align=center width="800" } + ![dot-annotator-example](https://media.roboflow.com/supervision-annotator-examples/dot-annotator-example-purple.png){ align=center width="800" }
@@ -187,7 +187,28 @@ comments: true
- ![ellipse-annotator-example](https://media.roboflow.com/supervision-annotator-examples/halo-annotator-example-purple.png){ align=center width="800" } + ![halo-annotator-example](https://media.roboflow.com/supervision-annotator-examples/halo-annotator-example-purple.png){ align=center width="800" } + +
+ +=== "PercentageBar" + + ```python + >>> import supervision as sv + + >>> image = ... + >>> detections = sv.Detections(...) + + >>> percentage_bar_annotator = sv.PercentageBarAnnotator() + >>> annotated_frame = percentage_bar_annotator.annotate( + ... scene=image.copy(), + ... detections=detections + ... ) + ``` + +
+ + ![percentage-bar-annotator-example](https://media.roboflow.com/supervision-annotator-examples/percentage-bar-annotator-example-purple.png){ align=center width="800" }
@@ -352,7 +373,7 @@ comments: true
- ![trace-annotator-example](https://media.roboflow.com/supervision-annotator-examples/heat-map-annotator-example-purple.png){ align=center width="800" } + ![heat-map-annotator-example](https://media.roboflow.com/supervision-annotator-examples/heat-map-annotator-example-purple.png){ align=center width="800" }
@@ -360,6 +381,10 @@ comments: true :::supervision.annotators.core.BoundingBoxAnnotator +## RoundBoxAnnotator + +:::supervision.annotators.core.RoundBoxAnnotator + ## BoxCornerAnnotator :::supervision.annotators.core.BoxCornerAnnotator @@ -388,6 +413,10 @@ comments: true :::supervision.annotators.core.HaloAnnotator +## PercentageBarAnnotator + +:::supervision.annotators.core.PercentageBarAnnotator + ## HeatMapAnnotator :::supervision.annotators.core.HeatMapAnnotator @@ -416,10 +445,6 @@ comments: true :::supervision.annotators.core.TraceAnnotator -## RoundBoxAnnotator - -:::supervision.annotators.core.RoundBoxAnnotator - ## ColorLookup :::supervision.annotators.utils.ColorLookup