Class Description
Records the region of interest (ROI) during model preprocessing in an image task, which is used for coordinate restoration during model postprocessing.
For details, see Postprocessing.
Supported Models
Atlas inference product
Common Parameters
Parameter |
Data Type |
Description |
|---|---|---|
imageWidth |
uint32_t |
Image width. The default value is 0. |
imageHeight |
uint32_t |
Height of the image buffer. The default value is 0. |
originalWidth |
uint32_t |
Original image width. The default value is 0. |
originalHeight |
uint32_t |
Original image height. The default value is 0. |
xRatio |
float |
Resizing ratio of the x coordinate. The default value is 1.0. |
xBias |
float |
Offset of the x coordinate. The default value is 0.0. |
yRatio |
float |
Resizing ratio of the y coordinate. The default value is 1.0. |
yBias |
float |
Offset of the y coordinate. The default value is 0.0. |
x0Valid |
float |
Coordinates of the object frame. The default value is 0.0. |
y0Valid |
float |
Coordinates of the object frame. The default value is 0.0. |
x1Valid |
float |
Coordinates of the object frame. The default value is 0.0. |
y1Valid |
float |
Coordinates of the object frame. The default value is 0.0. |