Commit ea4695fd authored by Lamping, Christian's avatar Lamping, Christian
Browse files


parent eef4e78c
......@@ -650,7 +650,7 @@ def display_instances(image, boxes, masks, class_ids, class_names,
if not np.any(boxes[i]):
# Skip this instance. Has no bbox. Likely lost in image cropping.
y1, x1, y2, x2 = boxes[i]
x1, y1, x2, y2 = boxes[i]
if show_bbox:
p = patches.Rectangle((x1, y1), x2 - x1, y2 - y1, linewidth=2,
alpha=0.7, linestyle="dashed",
Supports Markdown
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