rename variable

This commit is contained in:
James Gallagher committed 2023-12-05 10:41:20 +00:00
1 parent 9d836faa8a
commit d53181bb97
2 files changed
+4 -4

No files matched your search

+2 -2
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
... )
+2 -2
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
... )