NvDsInferInstanceMaskInfo

struct NvDsInferInstanceMaskInfo

Holds information about one parsed object and instance mask from a detector’s output.

Public Members

unsigned int classId

Holds the ID of the class to which the object belongs.

float left

Holds the horizontal offset of the bounding box shape for the object.

float top

Holds the vertical offset of the object’s bounding box.

float width

Holds the width of the object’s bounding box.

float height

Holds the height of the object’s bounding box.

float detectionConfidence

Holds the object detection confidence level; must in the range [0.0,1.0].

float *mask

Holds object segment mask.

unsigned int mask_width

Holds width of mask.

unsigned int mask_height

Holds height of mask.

unsigned int mask_size

Holds size of mask in bytes.