NVIDIA DeepStream SDK API Reference

9.1 Release
NvDsInferObject Struct Reference

Detailed Description

Holds information about one detected object.

Holds the information about one detected object.

Definition at line 538 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 549 of file sources/includes/nvdsinfer_context.h.

◆ confidence

float NvDsInferObject::confidence

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

◆ height

float NvDsInferObject::height

Holds the object's height.

Object height.

Definition at line 547 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 551 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 541 of file sources/includes/nvdsinfer_context.h.

◆ mask

float * NvDsInferObject::mask

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

◆ mask_height

unsigned int NvDsInferObject::mask_height

Holds height of mask.

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

◆ mask_size

unsigned int NvDsInferObject::mask_size

Holds size of mask in bytes.

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

◆ mask_width

unsigned int NvDsInferObject::mask_width

Holds width of mask.

Definition at line 557 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 564 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 543 of file sources/includes/nvdsinfer_context.h.

◆ width

float NvDsInferObject::width

Holds the object's width.

Object width.

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


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