diff --git a/ml3d/vis/boundingbox.py b/ml3d/vis/boundingbox.py index 55b388884..e05611d49 100644 --- a/ml3d/vis/boundingbox.py +++ b/ml3d/vis/boundingbox.py @@ -245,7 +245,7 @@ def plot_rect3d_on_img(img, if color is None: color = np.ones((line_indices.shape[0], line_indices.shape[1], 3)) for i in range(num_rects): - corners = rect_corners[i].astype(np.int) + corners = rect_corners[i].astype(np.int32) # ignore boxes outside a certain threshold interesting_corners_scale = 3.0 if min(corners[:, 0]