38 #define NVDSINFER_MAX_DIMS 8
40 #define _DS_DEPRECATED_(STR) __attribute__ ((deprecated (STR)))
123 #define getDimsCHWFromDims(dimsCHW,dims) \
125 (dimsCHW).c = (dims).d[0]; \
126 (dimsCHW).h = (dims).d[1]; \
127 (dimsCHW).w = (dims).d[2]; \
130 #define getDimsHWCFromDims(dimsCHW,dims) \
132 (dimsCHW).h = (dims).d[0]; \
133 (dimsCHW).w = (dims).d[1]; \
134 (dimsCHW).c = (dims).d[2]; \
279 } NvDsInferProfileSelector;
288 } NvDsInferBatchDims;
296 NvDsInferBatchDims profileDims[kSELECTOR_SIZE];
unsigned int w
Holds the width of the layer.
Holds information about one parsed object from a detector's output.
void * buffer
Holds a pointer to the buffer for the layer data.
float width
Holds the width of the object's bounding box.
NvDsInferObjectDetectionInfo NvDsInferParseObjectInfo
A typedef defined to maintain backward compatibility.
unsigned int width
Holds the input width for the model.
unsigned int attributeIndex
Holds the index of the attribute's label.
Failed to configure the NvDsInferContext instance possibly due to an erroneous initialization propert...
NvDsInferDataType dataType
Holds the data type of the layer.
Custom Library interface implementation failed.
const char * layerName
Holds the name of the layer.
unsigned int c
Holds the channel count of the layer.
Holds information about one classified attribute.
char * attributeLabel
Holds a pointer to a string containing the attribute's label.
float width
Holds the width of the object's bounding box.
unsigned int classId
Holds the ID of the class to which the object belongs.
unsigned int numDims
Holds the number of dimesions in the layer.
unsigned int h
Holds the height of the layer.
unsigned int channels
Holds the number of input channels for the model.
NvDsInferLogLevel
Enum for the log levels of NvDsInferContext.
Invalid parameters were supplied.
NvDsInferDataType
Specifies the data type of a layer.
unsigned int height
Holds the input height for the model.
CUDA error was encountered.
float height
Holds the height of the object's bounding box.
float top
Holds the vertical offset of the object's bounding box.
float attributeConfidence
Holds the attribute's confidence level.
unsigned int numElements
Holds the number of elements in the layer, including all dimensions.
unsigned int mask_height
Holds height of mask.
unsigned int classId
Holds the ID of the class to which the object belongs.
unsigned int mask_size
Holds size of mask in bytes.
unsigned int attributeValue
Holds the the attribute's output value.
Unknown error was encountered.
float detectionConfidence
Holds the object detection confidence level; must in the range [0.0,1.0].
float left
Holds the horizontal offset of the bounding box shape for the object.
NvDsInferStatus
Enum for the status codes returned by NvDsInferContext.
float * mask
Holds object segment mask.
Holds the dimensions of a layer.
Resource error was encountered.
NvDsInferContext operation succeeded.
int bindingIndex
Holds the TensorRT binding index of the layer.
float height
Holds the height of the object's bounding box.
Holds information about the model network.
int isInput
Holds a Boolean; true if the layer is an input layer, or false if an output layer.
Holds the dimensions of a three-dimensional layer.
float top
Holds the vertical offset of the object's bounding box.
[deprecated]TRT-IS error was encountered
Holds information about one layer in the model.
float left
Holds the horizontal offset of the bounding box shape for the object.
#define NVDSINFER_MAX_DIMS
Triton error was encountered.
const char * NvDsInferStatus2Str(NvDsInferStatus status)
Get the string name for the status.
float detectionConfidence
Holds the object detection confidence level; must in the range [0.0,1.0].
Holds information about one parsed object and instance mask from a detector's output.
unsigned int mask_width
Holds width of mask.
#define _DS_DEPRECATED_(STR)
TensorRT interface failed.