NVIDIA DeepStream SDK API Reference

6.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvds_roi_meta.h
Go to the documentation of this file.
1 
38 #ifndef __NVDS_ROI_META_H__
39 #define __NVDS_ROI_META_H__
40 
41 #include "nvdsmeta.h"
42 
43 #define DS_MAX_POLYGON_POINTS 8
44 
46 
48 
49 typedef GList NvDsClassifierMetaList;
50 
51 typedef GList NvDsUserMetaList;
52 
56 typedef enum
57 {
64 } NvDsDataType;
65 
69 typedef enum
70 {
74 } NvDsUnitType;
75 
79 typedef struct NvDsRoiMeta
80 {
81  /* per roi information */
83 
85 
86  /* Scaled & converted buffer to processing width/height */
88 
89  /* Deepstream frame meta */
91 
95  gdouble scale_ratio_x;
96  gdouble scale_ratio_y;
97 
99  gdouble offset_left;
100  gdouble offset_top;
101 
104 
107 
108 } NvDsRoiMeta;
109 
110 #endif
NvOSD_RectParams roi
Definition: nvds_roi_meta.h:82
gdouble offset_top
Holds metadata for a frame in a batch.
Definition: nvdsmeta.h:265
guint roi_polygon[DS_MAX_POLYGON_POINTS][2]
Definition: nvds_roi_meta.h:84
gdouble scale_ratio_y
Definition: nvds_roi_meta.h:96
NvDsDataType
Data type used for model in infer.
Definition: nvds_roi_meta.h:56
NvBufSurfaceParams * converted_buffer
Definition: nvds_roi_meta.h:87
Holds the box parameters of the box to be overlayed.
NvDsFrameMeta * frame_meta
Definition: nvds_roi_meta.h:90
Holds information about a single buffer in a batch.
Definition: nvbufsurface.h:263
NvDsUserMetaList * roi_user_meta_list
Holds a pointer to a list of pointers of type NvDsUserMeta.
Holds Information about ROI Metadata.
Definition: nvds_roi_meta.h:79
#define DS_MAX_POLYGON_POINTS
Definition: nvds_roi_meta.h:43
Defines NVIDIA DeepStream Metadata Structures
NvDsUnitType
Unit Type Fullframe/ROI/Crop Objects.
Definition: nvds_roi_meta.h:69
struct NvDsRoiMeta NvDsRoiMeta
Holds Information about ROI Metadata.
gdouble offset_left
offsets in horizontal and vertical direction while scaling
Definition: nvds_roi_meta.h:99
GList NvDsClassifierMetaList
Definition: nvds_roi_meta.h:49
gdouble scale_ratio_x
Ratio by which the frame/ROI crop was scaled.
Definition: nvds_roi_meta.h:95
GList NvDsUserMetaList
Definition: nvds_roi_meta.h:51
NvDsClassifierMetaList * classifier_meta_list
Holds a pointer to a list of pointers of type NvDsClassifierMeta.