参考:
https://github.com/ultralytics/ultralytics/issues/3137
https://blog.csdn.net/weixin_42357472/article/details/135218349?spm=1001.2014.3001.5501
需要把坐标信息在图片上显示
代码
1)只画出了坐标边缘
import cv2
import numpy as np
from random import randint
with open(r"C:\Users\loong\Downloads\cell_seg\test\labels\Screenshot-2023