From 1eb74ed88a4e947a712cc3333f5772f42c5bad50 Mon Sep 17 00:00:00 2001 From: SkalskiP Date: Wed, 4 Oct 2023 15:35:07 +0200 Subject: [PATCH] Add TraceAnnotator description to the documentation The documentation has been updated to include the `TraceAnnotator` class. --- docs/annotators.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/annotators.md b/docs/annotators.md index 2077e58d..59e44ebd 100644 --- a/docs/annotators.md +++ b/docs/annotators.md @@ -124,6 +124,27 @@ +=== "Trace" + + ```python + >>> import supervision as sv + + >>> image = ... + >>> detections = sv.Detections(...) + + >>> trace_annotator = sv.TraceAnnotator() + >>> annotated_frame = trace_annotator.annotate( + ... scene=image.copy(), + ... detections=detections + ... ) + ``` + +
+ + ![label-annotator-example](https://media.roboflow.com/supervision-annotator-examples/label-annotator-example-2.png){ align=center width="800" } + +
+ ## BoundingBoxAnnotator :::supervision.annotators.core.BoundingBoxAnnotator @@ -147,3 +168,7 @@ ## LabelAnnotator :::supervision.annotators.core.LabelAnnotator + +## TraceAnnotator + +:::supervision.annotators.core.TraceAnnotator