Unverified Commit 481fdbf3 authored by shilong's avatar shilong Committed by GitHub
Browse files

fix a bug in some opencv version (#407)

parent 2b876bc7
......@@ -122,7 +122,7 @@ def imshow_det_bboxes(img,
bbox_color = color_val(bbox_color)
text_color = color_val(text_color)
img = np.ascontiguousarray(img)
for bbox, label in zip(bboxes, labels):
bbox_int = bbox.astype(np.int32)
left_top = (bbox_int[0], bbox_int[1])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment