NvDsEventMsgMeta¶
-
struct
NvDsEventMsgMeta
¶ Holds event message meta data.
You can attach various types of objects (vehicle, person, face, etc.) to an event by setting a pointer to the object in extMsg.
Similarly, you can attach a custom object to an event by setting a pointer to the object in extMsg. A custom object must be handled by the metadata parsing module accordingly.
Public Members
-
NvDsEventType
type
¶ Holds the event’s type.
-
NvDsObjectType
objType
¶ Holds the object’s type.
-
NvDsGeoLocation
location
¶ Holds the object’s geolocation.
-
NvDsCoordinate
coordinate
¶ Holds the object’s coordinates.
-
NvDsObjectSignature
objSignature
¶ Holds the object’s signature.
-
gint
objClassId
¶ Holds the object’s class ID.
-
gint
sensorId
¶ Holds the ID of the sensor that generated the event.
-
gint
moduleId
¶ Holds the ID of the analytics module that generated the event.
-
gint
placeId
¶ Holds the ID of the place related to the object.
-
gint
componentId
¶ Holds the ID of the component (plugin) that generated this event.
-
gint
frameId
¶ Holds the video frame ID of this event.
-
gdouble
confidence
¶ Holds the confidence level of the inference.
-
gint
trackingId
¶ Holds the object’s tracking ID.
-
gchar *
ts
¶ Holds a pointer to the generated event’s timestamp.
-
gchar *
objectId
¶ Holds a pointer to the detected or inferred object’s ID.
-
gchar *
sensorStr
¶ Holds a pointer to a string containing the sensor’s identity.
-
gchar *
otherAttrs
¶ Holds a pointer to a string containing other attributes associated with the object.
-
gchar *
videoPath
¶ Holds a pointer to the name of the video file.
-
gpointer
extMsg
¶ Holds a pointer to event message meta data.
This can be used to hold data that can’t be accommodated in the existing fields, or an associated object (representing a vehicle, person, face, etc.).
-
guint
extMsgSize
¶ Holds the size of the custom object at extMsg.
-
NvDsEventType