摘要:
SUMMARY OpenCV读取:图片尺寸 ( H, W ),图片维度 ( H, W, C ), 通道顺序 ( B, G, R ) PIL读取:图片尺寸 ( W, H ),图片维度 ( C, H, W ), 通道顺序 ( R, G, B ) 下面是一段自定义pytorch dataset的代码,分别 阅读全文
摘要:
1.OpenCV在图像上标注矩形 用法: cv2.rectangle(image, start_point, end_point, color, thickness) 参数讲解: start_point: 图像左上角坐标(x1,y1) end_point: 图像右下角坐标(x2,y2) color: 阅读全文