SaigeDetectedObject¶
#include <SaigeVisionAPI.h>
包含从对象检测(DET)中检测到的区域信息的结构体。
Public Attributes¶
| Type | Name |
|---|---|
| SaigeRotatedBox | boundingBox 检测到的对象的边界框。 |
| int | score 代表检测区域的得分,范围为0到100。 |
| int | classIndex 检测区域所属类别的索引。 |
| unsigned int | area 检测区域的面积。 |
Public Attributes Documentation¶
boundingBox¶
检测到的对象的边界框。
SaigeRotatedBox boundingBox;
score¶
代表检测区域的得分,范围为0到100。
int score;
classIndex¶
检测区域所属类别的索引。
int classIndex;
检测到的对象不能属于 OK 类(索引 0)。 因此,classIndex 始终为 1 或更高。
area¶
检测区域的面积。
unsigned int area;