_NvDsObjectMeta¶
-
struct
_NvDsObjectMeta
¶ Holds metadata for an object in the frame.
Public Members
-
struct _NvDsObjectMeta *
parent
¶ Holds a pointer to the parent NvDsObjectMeta.
Set to NULL if no parent exists.
-
gint
unique_component_id
¶ Holds a unique component ID that identifies the metadata in this structure.
-
gint
class_id
¶ Holds the index of the object class inferred by the primary detector/classifier.
-
guint64
object_id
¶ Holds a unique ID for tracking the object.
UNTRACKED_OBJECT_ID indicates that the object has not been tracked.
-
NvDsComp_BboxInfo
detector_bbox_info
¶ Holds a structure containing bounding box parameters of the object when detected by detector.
-
NvDsComp_BboxInfo
tracker_bbox_info
¶ Holds a structure containing bounding box coordinates of the object when processed by tracker.
-
gfloat
confidence
¶ Holds a confidence value for the object, set by the inference component.
confidence will be set to -0.1, if “Group Rectangles” mode of clustering is chosen since the algorithm does not preserve confidence values. Also, for objects found by tracker and not inference component, confidence will be set to -0.1
-
gfloat
tracker_confidence
¶ Holds a confidence value for the object set by nvdcf_tracker.
tracker_confidence will be set to -0.1 for KLT and IOU tracker
-
NvOSD_RectParams
rect_params
¶ Holds a structure containing positional parameters of the object processed by the last component that updates it in the pipeline.
e.g. If the tracker component is after the detector component in the pipeline then positinal parameters are from tracker component. Positional parameters are clipped so that they do not fall outside frame boundary. Can also be used to overlay borders or semi-transparent boxes on objects.
- See
-
NvOSD_MaskParams
mask_params
¶ Holds mask parameters for the object.
This mask is overlayed on object
- See
-
NvOSD_TextParams
text_params
¶ Holds text describing the object.
This text can be overlayed on the standard text that identifies the object.
- See
-
gchar
obj_label
[MAX_LABEL_SIZE
]¶ Holds a string describing the class of the detected object.
-
NvDsClassifierMetaList *
classifier_meta_list
¶ Holds a pointer to a list of pointers of type NvDsClassifierMeta.
-
NvDsUserMetaList *
obj_user_meta_list
¶ Holds a pointer to a list of pointers of type NvDsUserMeta.
-
gint64
misc_obj_info
[MAX_USER_FIELDS
]¶ Holds additional user-defined object information.
-
gint64
reserved
[MAX_RESERVED_FIELDS
]¶ For internal use.
-
struct _NvDsObjectMeta *