Skip to content

Commit 257e73f

Browse files
committed
Change uncommon np.int0 type to its alias np.intp
1 parent dcfb122 commit 257e73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervision/annotators/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def annotate(
172172
return scene
173173

174174
for detection_idx in range(len(detections)):
175-
bbox = np.int0(detections.data.get(ORIENTED_BOX_COORDINATES)[detection_idx])
175+
bbox = np.intp(detections.data.get(ORIENTED_BOX_COORDINATES)[detection_idx])
176176
color = resolve_color(
177177
color=self.color,
178178
detections=detections,

0 commit comments

Comments
 (0)