NVIDIA DeepStream SDK API Reference

4.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
nvdsmeta_schema.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  *
10  */
11 
26 #ifndef NVDSMETA_H_
27 #define NVDSMETA_H_
28 
29 #include <glib.h>
30 
31 #ifdef __cplusplus
32 extern "C"
33 {
34 #endif
35 
39 typedef enum NvDsEventType {
51  NVDS_EVENT_FORCE32 = 0x7FFFFFFF
53 
57 typedef enum NvDsObjectType {
70 
74 typedef enum NvDsPayloadType {
81  NVDS_PAYLOAD_FORCE32 = 0x7FFFFFFF
83 
87 typedef struct NvDsRect {
88  gint top;
89  gint left;
90  gint width;
91  gint height;
92 } NvDsRect;
93 
97 typedef struct NvDsGeoLocation {
98  gdouble lat;
99  gdouble lon;
100  gdouble alt;
102 
106 typedef struct NvDsCoordinate {
107  gdouble x;
108  gdouble y;
109  gdouble z;
111 
115 typedef struct NvDsObjectSignature {
117  gdouble *signature;
119  guint size;
121 
125 typedef struct NvDsVehicleObject {
126  gchar *type;
127  gchar *make;
128  gchar *model;
129  gchar *color;
130  gchar *region;
131  gchar *license;
133 
137 typedef struct NvDsPersonObject {
138  gchar *gender;
139  gchar *hair;
140  gchar *cap;
141  gchar *apparel;
142  guint age;
144 
148 typedef struct NvDsFaceObject {
149  gchar *gender;
150  gchar *hair;
151  gchar *cap;
152  gchar *glasses;
153  gchar *facialhair;
154  gchar *name;
155  gchar *eyecolor;
156  guint age;
158 
168 typedef struct NvDsEventMsgMeta {
184  gint sensorId;
186  gint moduleId;
188  gint placeId;
192  gint frameId;
194  gdouble confidence;
198  gchar *ts;
200  gchar *objectId;
202  gchar *sensorStr;
204  gchar *otherAttrs;
206  gchar *videoPath;
213  gpointer extMsg;
215  guint extMsgSize;
217 
221 typedef struct _NvDsEvent {
226 } NvDsEvent;
227 
231 typedef struct NvDsPayload {
233  gpointer payload;
235  guint payloadSize;
237  guint componentId;
238 } NvDsPayload;
239 
240 #ifdef __cplusplus
241 }
242 #endif
243 #endif /* NVDSMETA_H_ */
244 
gpointer payload
pointer to payload
gdouble * signature
array of signature values.
struct NvDsFaceObject NvDsFaceObject
Holds face parameters.
Holds person object parameters.
Reserved for future use.
guint payloadSize
size of payload
gint objClassId
class id of object
NvDsRect bbox
bounding box of object
To support custom object.
guint extMsgSize
size of custom object
struct NvDsPersonObject NvDsPersonObject
Holds person object parameters.
gint moduleId
id of analytics module that generated the event
NvDsEventType eventType
type of event
NvDsObjectType
Object type flags.
NvDsEventMsgMeta * metadata
pointer of event meta data.
Reserved for future use.
NvDsGeoLocation location
Geo-location of object.
NvDsPayloadType
Payload type flags.
gint trackingId
tracking id of object
gdouble confidence
confidence of inference
Holds payload meta data.
struct NvDsEventMsgMeta NvDsEventMsgMeta
Holds event message meta data.
gint componentId
id of component that generated this event
Reserved for future use.
struct NvDsObjectSignature NvDsObjectSignature
Holds object signature.
To support custom payload.
gint placeId
id of place related to the object
Holds event message meta data.
gchar * ts
time stamp of generated event
struct NvDsCoordinate NvDsCoordinate
Hold coordinate parameters.
gint sensorId
id of sensor that generated the event
struct NvDsPayload NvDsPayload
Holds payload meta data.
gint frameId
video frame id of this event
To support custom event.
struct NvDsGeoLocation NvDsGeoLocation
Holds Geo-location parameters.
guint componentId
id of component who attached the payload (Optional)
gchar * sensorStr
Identity string of sensor.
struct _NvDsEvent NvDsEvent
Holds event information.
Holds event information.
NvDsEventType type
type of event
Holds vehicle object parameters.
struct NvDsRect NvDsRect
Holds rectangle parameters.
guint size
size of array
Holds Geo-location parameters.
struct NvDsVehicleObject NvDsVehicleObject
Holds vehicle object parameters.
NvDsObjectSignature objSignature
signature of object
NvDsCoordinate coordinate
coordinate of object
gchar * otherAttrs
other attributes associated with the object
Hold coordinate parameters.
Holds rectangle parameters.
gchar * videoPath
name of video file
Holds object signature.
NvDsObjectType objType
type of object
NvDsEventType
Event type flags.
gchar * objectId
id of detected / inferred object
Holds face parameters.
gpointer extMsg
To extend the event message meta data.