NVIDIA DeepStream SDK API Reference

6.1.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Pre-Process Metadata

Detailed Description

Specifies metadata concerning ROIs used in nvdspreprocess plugin.

Data Structures

struct  NvDsRoiMeta
 Holds Information about ROI Metadata. More...
 

Macros

#define DS_MAX_POLYGON_POINTS   8
 max polygon points ; currently not being used More...
 

Typedefs

typedef struct NvBufSurfaceParams NvBufSurfaceParams
 DS NvBufSurfaceParams. More...
 
typedef struct _NvDsFrameMeta NvDsFrameMeta
 DS NvDsFrameMeta. More...
 
typedef GList NvDsClassifierMetaList
 classifier meta list More...
 
typedef GList NvDsUserMetaList
 user meta list More...
 
typedef struct NvDsRoiMeta NvDsRoiMeta
 Holds Information about ROI Metadata. More...
 

Enumerations

enum  NvDsDataType {
  NvDsDataType_FP32,
  NvDsDataType_UINT8,
  NvDsDataType_INT8,
  NvDsDataType_UINT32,
  NvDsDataType_INT32,
  NvDsDataType_FP16
}
 Data type used for model in infer. More...
 
enum  NvDsUnitType {
  NvDsUnitType_FullFrame = 0,
  NvDsUnitType_ROI,
  NvDsUnitType_Object
}
 Unit Type Fullframe/ROI/Crop Objects. More...
 

Variables

NvOSD_RectParams NvDsRoiMeta::roi
 
guint NvDsRoiMeta::roi_polygon [DS_MAX_POLYGON_POINTS][2]
 currently not being used More...
 
NvBufSurfaceParamsNvDsRoiMeta::converted_buffer
 
NvDsFrameMetaNvDsRoiMeta::frame_meta
 
gdouble NvDsRoiMeta::scale_ratio_x
 Ratio by which the frame/ROI crop was scaled in horizontal direction Required when scaling co-ordinates/sizes in metadata back to input resolution. More...
 
gdouble NvDsRoiMeta::scale_ratio_y
 Ratio by which the frame/ROI crop was scaled in vertical direction Required when scaling co-ordinates/sizes in metadata back to input resolution. More...
 
gdouble NvDsRoiMeta::offset_left
 offsets in horizontal direction while scaling More...
 
gdouble NvDsRoiMeta::offset_top
 offsets in vertical direction while scaling More...
 
NvDsClassifierMetaListNvDsRoiMeta::classifier_meta_list
 Holds a pointer to a list of pointers of type NvDsClassifierMeta. More...
 
NvDsUserMetaListNvDsRoiMeta::roi_user_meta_list
 Holds a pointer to a list of pointers of type NvDsUserMeta. More...
 

Macro Definition Documentation

#define DS_MAX_POLYGON_POINTS   8

max polygon points ; currently not being used

Definition at line 44 of file nvds_roi_meta.h.

Typedef Documentation

DS NvBufSurfaceParams.

Definition at line 47 of file nvds_roi_meta.h.

typedef GList NvDsClassifierMetaList

classifier meta list

Definition at line 53 of file nvds_roi_meta.h.

typedef struct _NvDsFrameMeta NvDsFrameMeta

DS NvDsFrameMeta.

Definition at line 50 of file nvds_roi_meta.h.

typedef struct NvDsRoiMeta NvDsRoiMeta

Holds Information about ROI Metadata.

typedef GList NvDsUserMetaList

user meta list

Definition at line 56 of file nvds_roi_meta.h.

Enumeration Type Documentation

Data type used for model in infer.

Enumerator
NvDsDataType_FP32 

FP32 data type.

NvDsDataType_UINT8 

UINT8 data type.

NvDsDataType_INT8 

INT8 data type.

NvDsDataType_UINT32 

UINT32 data type.

NvDsDataType_INT32 

INT32 data type.

NvDsDataType_FP16 

FP16 data type.

Definition at line 61 of file nvds_roi_meta.h.

Unit Type Fullframe/ROI/Crop Objects.

Enumerator
NvDsUnitType_FullFrame 

Full frames.

NvDsUnitType_ROI 

Region of Interests (ROIs)

NvDsUnitType_Object 

object mode

Definition at line 80 of file nvds_roi_meta.h.

Variable Documentation

NvDsClassifierMetaList* NvDsRoiMeta::classifier_meta_list

Holds a pointer to a list of pointers of type NvDsClassifierMeta.

Definition at line 124 of file nvds_roi_meta.h.

NvBufSurfaceParams* NvDsRoiMeta::converted_buffer

Definition at line 102 of file nvds_roi_meta.h.

NvDsFrameMeta* NvDsRoiMeta::frame_meta

Definition at line 105 of file nvds_roi_meta.h.

gdouble NvDsRoiMeta::offset_left

offsets in horizontal direction while scaling

Definition at line 118 of file nvds_roi_meta.h.

gdouble NvDsRoiMeta::offset_top

offsets in vertical direction while scaling

Definition at line 121 of file nvds_roi_meta.h.

NvOSD_RectParams NvDsRoiMeta::roi

Definition at line 96 of file nvds_roi_meta.h.

guint NvDsRoiMeta::roi_polygon[DS_MAX_POLYGON_POINTS][2]

currently not being used

Definition at line 99 of file nvds_roi_meta.h.

NvDsUserMetaList* NvDsRoiMeta::roi_user_meta_list

Holds a pointer to a list of pointers of type NvDsUserMeta.

Definition at line 127 of file nvds_roi_meta.h.

gdouble NvDsRoiMeta::scale_ratio_x

Ratio by which the frame/ROI crop was scaled in horizontal direction Required when scaling co-ordinates/sizes in metadata back to input resolution.

Definition at line 110 of file nvds_roi_meta.h.

gdouble NvDsRoiMeta::scale_ratio_y

Ratio by which the frame/ROI crop was scaled in vertical direction Required when scaling co-ordinates/sizes in metadata back to input resolution.

Definition at line 115 of file nvds_roi_meta.h.