YOLOV5中获取det结果时*xyxy格式转化普通列表 for det in pred: if det is not None and len(det): det[:,:4]=scale_coords(img.shape[2:],det[:,:4],img0.shape).round() xyxy_point = [] center_point = [] im0s = img0 # im0s = cv2.cvtColor(im0s, cv2.COLOR_BGR2RGB) for *xyxy,conf,cls in det: cls_i