Change uncommon np.int0 type to its alias np.intp
This commit is contained in:
parent
dcfb122816
commit
257e73fb37
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue