NVIDIA DeepStream SDK API Reference

8.0 Release
NvDsInferObject Struct Reference

Detailed Description

Holds information about one detected object.

Holds the information about one detected object.

Definition at line 533 of file sources/includes/nvdsinfer_context.h.

Data Fields

float left
 Holds the object's offset from the left boundary of the frame. More...
 
float top
 Holds the object's offset from the top boundary of the frame. More...
 
float width
 Holds the object's width. More...
 
float height
 Holds the object's 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...
 
float rotation_angle
 Holds the rotation angle in radians for oriented bounding boxes (OBB). More...
 

Field Documentation

◆ classIndex

int NvDsInferObject::classIndex

Holds the index for the object's class.

Definition at line 544 of file sources/includes/nvdsinfer_context.h.

◆ confidence

float NvDsInferObject::confidence

Definition at line 548 of file sources/includes/nvdsinfer_context.h.

◆ height

float NvDsInferObject::height

Holds the object's height.

Object height.

Definition at line 542 of file sources/includes/nvdsinfer_context.h.

◆ label

char * NvDsInferObject::label

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

Definition at line 546 of file sources/includes/nvdsinfer_context.h.

◆ left

float NvDsInferObject::left

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

Offset from the left boundary of the frame.

Definition at line 536 of file sources/includes/nvdsinfer_context.h.

◆ mask

float * NvDsInferObject::mask

Definition at line 550 of file sources/includes/nvdsinfer_context.h.

◆ mask_height

unsigned int NvDsInferObject::mask_height

Holds height of mask.

Definition at line 554 of file sources/includes/nvdsinfer_context.h.

◆ mask_size

unsigned int NvDsInferObject::mask_size

Holds size of mask in bytes.

Definition at line 556 of file sources/includes/nvdsinfer_context.h.

◆ mask_width

unsigned int NvDsInferObject::mask_width

Holds width of mask.

Definition at line 552 of file sources/includes/nvdsinfer_context.h.

◆ rotation_angle

float NvDsInferObject::rotation_angle

Holds the rotation angle in radians for oriented bounding boxes (OBB).

0.0 indicates axis-aligned bounding box.

Definition at line 559 of file sources/includes/nvdsinfer_context.h.

◆ top

float NvDsInferObject::top

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

Offset from the top boundary of the frame.

Definition at line 538 of file sources/includes/nvdsinfer_context.h.

◆ width

float NvDsInferObject::width

Holds the object's width.

Object width.

Definition at line 540 of file sources/includes/nvdsinfer_context.h.


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