问题遇到的现象和发生背景 需要用标签json文件中的xy坐标(72个点,72个x值和2个起始点的y值),在对应图像中连成线
问题相关代码,请勿粘贴截图
import json
filename = r'E:\Pytorch\drawline\line\test\maodou5.json'
with open(filename) as f:# 以字典的形式存储到point中
point = json.load(f)
all_points = all_point['features']
cox, coy = [], [] # 存储72点的xy信息