下载
中文
注册

CropRoiBox

功能

用于记录图像类任务中模型前处理中的感兴趣(region of interest,简称ROI)区域,提供给模型后处理的坐标还原使用。

结构定义

class CropRoiBox {
public:
    float x0;
    float y0;
    float x1;
    float y1;
};

参数说明

参数名

说明

x0

ROI框左上角横坐标。

y0

ROI框左上角纵坐标。

x1

ROI框右下角横坐标。

y1

ROI框右下角纵坐标。