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]; \
238 } NvDsInferProfileSelector;
247 } NvDsInferBatchDims;
255 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.
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.
const char * attributeLabel
Holds a pointer to a string containing the attribute's label.
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 attributeConfidence
Holds the attribute's confidence level.
unsigned int numElements
Holds the number of elements in the layer, including all dimensions.
unsigned int classId
Holds the ID of the class to which the object belongs.
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].
NvDsInferStatus
Enum for the status codes returned by NvDsInferContext.
Holds the dimensions of a layer.
Resource error was encountered.
NvDsInferContext operation succeeded.
int bindingIndex
Holds the TensorRT binding index of the layer.
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.
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
const char * NvDsInferStatus2Str(NvDsInferStatus status)
Get the string name for the status.
#define _DS_DEPRECATED_(STR)
TensorRT interface failed.