diff --git a/docs/annotators.md b/docs/annotators.md index 59e44ebd..11bdfc17 100644 --- a/docs/annotators.md +++ b/docs/annotators.md @@ -141,7 +141,7 @@
- ![label-annotator-example](https://media.roboflow.com/supervision-annotator-examples/label-annotator-example-2.png){ align=center width="800" } + ![trace-annotator-example](https://media.roboflow.com/supervision-annotator-examples/trace-annotator-example.png){ align=center width="800" }
diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index 2b63717e..350ae06b 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -568,6 +568,12 @@ class LabelAnnotator: class TraceAnnotator: """ A class for drawing trace paths on an image based on detection coordinates. + + !!! warning + + This annotator utilizes the `tracker_id`. Read + [here](https://supervision.roboflow.com/trackers/) to learn how to plug + tracking into your inference pipeline. """ def __init__( @@ -617,6 +623,9 @@ class TraceAnnotator: ... detections=detections ... ) ``` + + ![trace-annotator-example](https://media.roboflow.com/ + supervision-annotator-examples/trace-annotator-example.png) """ self.trace.put(detections)