Update supervision/annotators/core.py

Co-authored-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
hidara2000
2025-04-15 21:58:31 +10:00
committed by GitHub
co-authored by Onuralp SEZER
parent a5c833b80f
commit 474c8bc478
+1 -1
View File
@@ -1401,7 +1401,7 @@ class RichLabelAnnotator(_BaseLabelAnnotator):
detections: Detections,
labels: Optional[List[str]] = None,
custom_color_lookup: Optional[np.ndarray] = None,
) -> Image.Image:
) -> ImageType:
assert isinstance(scene, Image.Image)
self._validate_labels(labels, detections)