NvDsObjectMeta

class pyds.NvDsObjectMeta(self: pyds.NvDsObjectMeta) → None

Holds information of object metadata in the frame

property base_meta
cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvDsObjectMeta

cast given object/data to pyds.NvDsObjectMeta, call pyds.NvDsObjectMeta.cast(data)

  1. cast(self: int) -> pyds.NvDsObjectMeta

cast given object/data to pyds.NvDsObjectMeta, call pyds.NvDsObjectMeta.cast(data)

property class_id

Index of the object class infered by the primary detector/classifier

property classifier_meta_list

list of objects of type NvDsClassifierMeta

property confidence
property detector_bbox_info

Holds a structure containing bounding box parameters of the object when detected by detector.

property mask_params

Holds mask parameters for the object. This mask is overlayed on object @see NvOSD_MaskParams.

property misc_obj_info
property obj_label

an array to store the string describing the class of the detected object

property obj_user_meta_list

list of objects of type NvDsUserMeta

property object_id

Unique ID for tracking the object. @ref UNTRACKED_OBJECT_ID indicates the object has not been tracked

property parent

the parent pyds.NvDsObjectMeta object. Set to None if parent is not present

property rect_params

Structure containing the positional parameters of the object in the frame. Can also be used to overlay borders / semi-transparent boxes on top of objects. Refer @see pyds.NvOSD_RectParams

property reserved
property text_params

Text describing the object can be overlayed using this structure. @see pyds.NvOSD_TextParams

property tracker_bbox_info

Holds a structure containing bounding box coordinates of the object when processed by tracker.

property 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

property unique_component_id

unique component id that attaches NvDsObjectMeta metadata