下载
中文
注册

ObjDetectInfo

功能

图片目标检测信息。

结构定义

struct ObjDetectInfo {
    float x0 = 0;
    float y0 = 0;
    float x1 = 0;
    float y1 = 0;
    float confidence = 0;
    float classId = 0;
    void *maskPtr;
};
struct ObjDetectInfo {
    float x0;
    float y0;
    float x1;
    float y1;
    float confidence;
    float classId;
};

参数说明

参数名

说明

x0

左上角横坐标。

y0

左上角纵坐标。

x1

右下角横坐标。

y1

右下角纵坐标。

confidence

置信度。

classId

类ID。

maskPtr

实例分割需要使用的掩码。