normalized_y = point[1] / image_height normalized_points.extend([normalized_x, normalized_y])# YOLO格式:class_index x1 y1 x2 y2 x3 y3 x4 y4yolo_data.append(f"0{' '.join(map(str, normalized_points))}")# 写入YOLO格式标签文件yolo_file_path = os.path.join(output_folder,f"{file_prefix}.txt")withopen(yolo_file_path,'w')a...