![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
项目经历
干净明亮,
这个作者很懒,什么都没留下…
展开
-
目标检测数据集格式转换(yolo→voc)
YOLO格式转VOC格式原创 2022-08-15 10:05:30 · 850 阅读 · 2 评论 -
批量转文件夹中图片尺寸和格式(png→jpg)
# 所有需要处理的图片的路径 自动遍历文件夹内所有文件(包括子文件) 填写路径全称 traversal_file = "D:/MCM_Pictures" # 修改完成后输出的文件夹 output_file = "D:/Dataset" # 变成多少分辨率的方形图 img_width_height=224 def resize_img(img_path,save_path): # 读取原图片 img = cv2.imread(img_path) h, w = img.shape[0.原创 2021-02-06 08:14:33 · 351 阅读 · 0 评论