会撒娇小猫咪

文章
3
资源
0
加入时间
3年0月28天

pycocotools coco格式数据集可视化

pycocotools 可视化import cv2import osimport numpy as npfrom pycocotools.coco import COCOcolors = [(255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255), (0, 255, 255)]img_path = 'train/images'annFile = 'train/annotations/train.json'sa