NvDsInferObject

struct NvDsInferObject

Holds information about one detected object.

Public Members

float left

Holds the object’s offset from the left boundary of the frame.

float top

Holds the object’s offset from the top boundary of the frame.

float width

Holds the object’s width.

float height

Holds the object’s height.

int classIndex

Holds the index for the object’s class.

char *label

Holds a pointer to a string containing a label for the object.

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.