NVIDIA DeepStream SDK API Reference

7.0 Release
NvDsInferObject Struct Reference

Detailed Description

Holds the information about one detected object.

Holds information about one detected object.

Definition at line 22 of file infer_post_datatypes.h.

Data Fields

float left
 Offset from the left boundary of the frame. More...
 
float top
 Offset from the top boundary of the frame. More...
 
float width
 Object width. More...
 
float height
 Object height. More...
 
int classIndex
 Holds the index for the object's class. More...
 
char * label
 Holds a pointer to a string containing a label for the object. More...
 
float confidence
 
float * mask
 
unsigned int mask_width
 Holds width of mask. More...
 
unsigned int mask_height
 Holds height of mask. More...
 
unsigned int mask_size
 Holds size of mask in bytes. More...
 

Field Documentation

◆ classIndex

int NvDsInferObject::classIndex

Holds the index for the object's class.

Definition at line 32 of file infer_post_datatypes.h.

◆ confidence

float NvDsInferObject::confidence

Definition at line 36 of file infer_post_datatypes.h.

◆ height

float NvDsInferObject::height

Object height.

Holds the object's height.

Definition at line 30 of file infer_post_datatypes.h.

◆ label

char * NvDsInferObject::label

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

Definition at line 34 of file infer_post_datatypes.h.

◆ left

float NvDsInferObject::left

Offset from the left boundary of the frame.

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

Definition at line 24 of file infer_post_datatypes.h.

◆ mask

float* NvDsInferObject::mask

Definition at line 518 of file nvdsinfer_context.h.

◆ mask_height

unsigned int NvDsInferObject::mask_height

Holds height of mask.

Definition at line 522 of file nvdsinfer_context.h.

◆ mask_size

unsigned int NvDsInferObject::mask_size

Holds size of mask in bytes.

Definition at line 524 of file nvdsinfer_context.h.

◆ mask_width

unsigned int NvDsInferObject::mask_width

Holds width of mask.

Definition at line 520 of file nvdsinfer_context.h.

◆ top

float NvDsInferObject::top

Offset from the top boundary of the frame.

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

Definition at line 26 of file infer_post_datatypes.h.

◆ width

float NvDsInferObject::width

Object width.

Holds the object's width.

Definition at line 28 of file infer_post_datatypes.h.


The documentation for this struct was generated from the following files: