摘要:
def image_preporcess(image, target_size, gt_boxes=None): image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB).astype(np.float32) ih, iw = target_size h, w, 阅读全文
posted @ 2019-10-24 20:12
tangjunjun
阅读(702)
评论(0)
推荐(0)
摘要:
一.将读取文件夹内容,变为字典保存,代码如下: 二.读取文件变为矩阵,代码如下: 结果如下: 三 .将文件数据变成列表,代码如下: 结果如下: 阅读全文
posted @ 2019-10-24 20:06
tangjunjun
阅读(1147)
评论(0)
推荐(0)

浙公网安备 33010602011771号