|
NVIDIA DeepStream SDK API Reference
|
6.3 Release
|
Go to the documentation of this file.
39 #define NVDSINFER_MAX_DIMS 8
41 #define _DS_DEPRECATED_(STR) __attribute__ ((deprecated (STR)))
124 #define getDimsCHWFromDims(dimsCHW,dims) \
126 (dimsCHW).c = (dims).d[0]; \
127 (dimsCHW).h = (dims).d[1]; \
128 (dimsCHW).w = (dims).d[2]; \
131 #define getDimsHWCFromDims(dimsCHW,dims) \
133 (dimsCHW).h = (dims).d[0]; \
134 (dimsCHW).w = (dims).d[1]; \
135 (dimsCHW).c = (dims).d[2]; \
282 } NvDsInferProfileSelector;
291 } NvDsInferBatchDims;
299 NvDsInferBatchDims profileDims[kSELECTOR_SIZE];
char * attributeLabel
Holds a pointer to a string containing the attribute's label.
unsigned int w
Holds the width of the layer.
float left
Holds the horizontal offset of the bounding box shape for the object.
float width
Holds the width of the object's bounding box.
unsigned int attributeIndex
Holds the index of the attribute's label.
unsigned int classId
Holds the ID of the class to which the object belongs.
@ NVDSINFER_UNKNOWN_ERROR
Unknown error was encountered.
float width
Holds the width of the object's bounding box.
unsigned int numElements
Holds the number of elements in the layer, including all dimensions.
@ NVDSINFER_INVALID_PARAMS
Invalid parameters were supplied.
float left
Holds the horizontal offset of the bounding box shape for the object.
Holds the dimensions of a layer.
@ NVDSINFER_RESOURCE_ERROR
Resource error was encountered.
unsigned int h
Holds the height of the layer.
NvDsInferLogLevel
Enum for the log levels of NvDsInferContext.
int bindingIndex
Holds the TensorRT binding index of the layer.
NvDsInferDataType
Specifies the data type of a layer.
@ NVDSINFER_TRITON_ERROR
Triton error was encountered.
@ NVDSINFER_CUSTOM_LIB_FAILED
Custom Library interface implementation failed.
Holds information about one parsed object and instance mask from a detector's output.
float detectionConfidence
Holds the object detection confidence level; must in the range [0.0,1.0].
const char * NvDsInferStatus2Str(NvDsInferStatus status)
Get the string name for the status.
@ NVDSINFER_TENSORRT_ERROR
TensorRT interface failed.
unsigned int mask_size
Holds size of mask in bytes.
unsigned int classId
Holds the ID of the class to which the object belongs.
unsigned int height
Holds the input height for the model.
@ NVDSINFER_SUCCESS
NvDsInferContext operation succeeded.
Holds information about one parsed object from a detector's output.
@ FLOAT
Specifies FP32 format.
#define NVDSINFER_MAX_DIMS
Holds information about the model network.
Holds information about one layer in the model.
unsigned int channels
Holds the number of input channels for the model.
@ HALF
Specifies FP16 format.
@ INT32
Specifies INT32 format.
void * buffer
Holds a pointer to the buffer for the layer data.
unsigned int mask_height
Holds height of mask.
float top
Holds the vertical offset of the object's bounding box.
float top
Holds the vertical offset of the object's bounding box.
@ INT8
Specifies INT8 format.
float * mask
Holds object segment mask.
NvDsInferDataType dataType
Holds the data type of the layer.
NvDsInferObjectDetectionInfo NvDsInferParseObjectInfo
A typedef defined to maintain backward compatibility.
unsigned int width
Holds the input width for the model.
float height
Holds the height of the object's bounding box.
Holds the dimensions of a three-dimensional layer.
int isInput
Holds a Boolean; true if the layer is an input layer, or false if an output layer.
unsigned int numDims
Holds the number of dimesions in the layer.
float attributeConfidence
Holds the attribute's confidence level.
const char * layerName
Holds the name of the layer.
float height
Holds the height of the object's bounding box.
unsigned int attributeValue
Holds the the attribute's output value.
@ NVDSINFER_TRTIS_ERROR
[deprecated]TRT-IS error was encountered
@ NVDSINFER_MEM_ERROR
Cuda Memory error was encountered.
#define _DS_DEPRECATED_(STR)
@ NVDSINFER_CONFIG_FAILED
Failed to configure the NvDsInferContext instance possibly due to an erroneous initialization propert...
unsigned int mask_width
Holds width of mask.
@ NVDSINFER_OUTPUT_PARSING_FAILED
Output parsing failed.
Holds information about one classified attribute.
float detectionConfidence
Holds the object detection confidence level; must in the range [0.0,1.0].
unsigned int c
Holds the channel count of the layer.
@ NVDSINFER_CUDA_ERROR
CUDA error was encountered.
NvDsInferStatus
Enum for the status codes returned by NvDsInferContext.