↓ 9 callersFunctionxyxy2xywh用在detect.py和test.py中 操作最后, 将预测信息从xyxy格式转为xywh格式 再保存 Convert nx4 boxes from [x1, y1, x2, y2] to [x, y, w, h] where x1y1=top-left, x2y2=bottom-rig
utils/general.py:596
↓ 7 callersFunctionxywh2xyxy用在test.py中 操作之前 转为xyxy才可以进行操作 注意: x的正方向为右面 y的正方向为下面 Convert nx4 boxes from [x, y, w, h] to [x1, y1, x2, y2] where x1y1=top-left, x2y2=bottom
utils/general.py:609