Change uncommon np.int0 type to its alias np.intp

This commit is contained in:
LinasKo 2024-06-19 00:36:27 +03:00
parent dcfb122816
commit 257e73fb37
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class OrientedBoxAnnotator(BaseAnnotator):
return scene
for detection_idx in range(len(detections)):
bbox = np.int0(detections.data.get(ORIENTED_BOX_COORDINATES)[detection_idx])
bbox = np.intp(detections.data.get(ORIENTED_BOX_COORDINATES)[detection_idx])
color = resolve_color(
color=self.color,
detections=detections,