CropRoiBox
Description
Records the ROI during model preprocessing in an image task, which is then provided for coordinate restoration during model postprocessing.
Structure Definition
1 2 3 4 5 6 7 | class CropRoiBox { public: float x0; float y0; float x1; float y1; }; |
Parameters
Parameter |
Description |
|---|---|
x0 |
Horizontal coordinate of the upper left corner of the ROI box |
y0 |
Vertical coordinate of the upper left corner of the ROI box |
x1 |
Horizontal coordinate of the lower right corner of the ROI box |
y1 |
Vertical coordinate in the lower right corner of the ROI box |
Parent topic: General Data Structures