NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvdsinfer.h File Reference

Detailed Description

Copyright (c) 2017-2020, NVIDIA CORPORATION.

All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related documentation without an express license agreement from NVIDIA Corporation is strictly prohibited.

NVIDIA DeepStream inference specifications

Description: This file defines common elements used in the API exposed by the Gst-nvinfer plugin.

Definition in file nvdsinfer.h.

Go to the source code of this file.

Data Structures

struct  NvDsInferDims
 Holds the dimensions of a layer. More...
 
struct  NvDsInferDimsCHW
 Holds the dimensions of a three-dimensional layer. More...
 
struct  NvDsInferLayerInfo
 Holds information about one layer in the model. More...
 
struct  NvDsInferNetworkInfo
 Holds information about the model network. More...
 
struct  NvDsInferObjectDetectionInfo
 Holds information about one parsed object from a detector's output. More...
 
struct  NvDsInferAttribute
 Holds information about one classified attribute. More...
 

Macros

#define NVDSINFER_MAX_DIMS   8
 
#define _DS_DEPRECATED_(STR)   __attribute__ ((deprecated (STR)))
 
#define getDimsCHWFromDims(dimsCHW, dims)
 Sets values on a NvDsInferDimsCHW structure from a NvDsInferDims structure. More...
 

Typedefs

typedef
NvDsInferObjectDetectionInfo 
NvDsInferParseObjectInfo
 A typedef defined to maintain backward compatibility. More...
 

Enumerations

enum  NvDsInferDataType {
  FLOAT = 0,
  HALF = 1,
  INT8 = 2,
  INT32 = 3
}
 Specifies the data type of a layer. More...
 
enum  NvDsInferStatus {
  NVDSINFER_SUCCESS = 0,
  NVDSINFER_CONFIG_FAILED,
  NVDSINFER_CUSTOM_LIB_FAILED,
  NVDSINFER_INVALID_PARAMS,
  NVDSINFER_OUTPUT_PARSING_FAILED,
  NVDSINFER_CUDA_ERROR,
  NVDSINFER_TENSORRT_ERROR,
  NVDSINFER_RESOURCE_ERROR,
  NVDSINFER_TRTIS_ERROR,
  NVDSINFER_UNKNOWN_ERROR
}
 Enum for the status codes returned by NvDsInferContext. More...
 
enum  NvDsInferLogLevel {
  NVDSINFER_LOG_ERROR = 0,
  NVDSINFER_LOG_WARNING,
  NVDSINFER_LOG_INFO,
  NVDSINFER_LOG_DEBUG
}
 Enum for the log levels of NvDsInferContext. More...
 

Functions

const char * NvDsInferStatus2Str (NvDsInferStatus status)
 Get the string name for the status. More...