摘要:
def draw_bbox(image, bboxes, class_i, show_label=True): # 将中心点坐标与w,h通过变化为左上角与右下角坐标 bboxes_change = np.copy(bboxes) bboxes[:,0:2]=bboxes_change[:,0:2]-0.5*bboxes_change[:,2:4] bboxes[:, 0:2] = bboxes_c 阅读全文
posted @ 2019-10-30 16:00
tangjunjun
阅读(1029)
评论(0)
推荐(0)