diff --git a/docs/annotators.md b/docs/annotators.md index ed10abb0..083a4ad1 100644 --- a/docs/annotators.md +++ b/docs/annotators.md @@ -48,8 +48,8 @@ >>> image = ... >>> detections = sv.Detections(...) - >>> box_mask_annotator = sv.ColorAnnotator() - >>> annotated_frame = box_mask_annotator.annotate( + >>> color_annotator = sv.ColorAnnotator() + >>> annotated_frame = color_annotator.annotate( ... scene=image.copy(), ... detections=detections ... ) diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index 11e75219..7da5fbe3 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -308,8 +308,8 @@ class ColorAnnotator(BaseAnnotator): >>> image = ... >>> detections = sv.Detections(...) - >>> box_mask_annotator = sv.ColorAnnotator() - >>> annotated_frame = box_mask_annotator.annotate( + >>> color_annotator = sv.ColorAnnotator() + >>> annotated_frame = color_annotator.annotate( ... scene=image.copy(), ... detections=detections ... )