ObjDetectInfo
Function
Stores image object detection information.
Structure Definition
struct ObjDetectInfo {
float x0 = 0;
float y0 = 0;
float x1 = 0;
float y1 = 0;
float confidence = 0;
float classId = 0;
void *maskPtr;
};
Parameter Description
Parameter |
Description |
|---|---|
x0 |
Horizontal coordinate of the upper left corner. |
y0 |
Vertical coordinate of the upper left corner. |
x1 |
Horizontal coordinate of the lower right corner. |
y1 |
Vertical coordinate of the lower right corner. |
confidence |
Confidence level. |
classId |
Class ID. |
maskPtr |
Mask used for instance segmentation. |
Parent topic: Data Structure