rename variable

This commit is contained in:
James Gallagher 2023-12-05 10:40:30 +00:00
parent 9d836faa8a
commit d53181bb97
2 changed files with 4 additions and 4 deletions

View File

@ -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
... )

View File

@ -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
... )