用于记录图像类任务中模型前处理中的感兴趣(region of interest,简称ROI)区域,提供给模型后处理的坐标还原使用。
1 2 3 4 5 6 7
class CropRoiBox { public: float x0; float y0; float x1; float y1; };
参数名
说明
x0
ROI框左上角横坐标。
y0
ROI框左上角纵坐标。
x1
ROI框右下角横坐标。
y1
ROI框右下角纵坐标。