SaigeDetectedObject¶
#include <SaigeVisionAPI.h>
Structure containing information about a detected area from Object Detection (DET).
Public Attributes¶
| Type | Name |
|---|---|
| SaigeRotatedBox | boundingBox Bounding box for the detected object. |
| int | score Score representing the detected area, ranging from 0 to 100. |
| int | classIndex Index of the class to which the detected area belongs. |
| unsigned int | area Area of the detected region. |
Public Attributes Documentation¶
boundingBox¶
Bounding box for the detected object.
SaigeRotatedBox boundingBox;
score¶
Score representing the detected area, ranging from 0 to 100.
int score;
classIndex¶
Index of the class to which the detected area belongs.
int classIndex;
Detected objects cannot belong to the OK class (index 0). Therefore, classIndex is always 1 or higher.
area¶
Area of the detected region.
unsigned int area;