**• Hardware Platform (GPU) RTX 3060
**• DeepStream Version 6.0
• TensorRT Version
**• NVIDIA GPU Driver Version (valid for GPU only) CUDA11.7
• Issue Type (questions)
I want to use a probe function to add custom variable to NvDsObjectMeta
in the nvdsmeta.h
file
typedef struct _NvDsObjectMeta {
NvDsBaseMeta base_meta;
struct _NvDsObjectMeta *parent;
gint unique_component_id;
gint class_id;
guint64 object_id;
NvDsComp_BboxInfo detector_bbox_info;
NvDsComp_BboxInfo tracker_bbox_info;
gfloat confidence;
gfloat tracker_confidence;
NvOSD_RectParams rect_params;
NvOSD_MaskParams mask_params;
NvOSD_TextParams text_params;
gchar obj_label[MAX_LABEL_SIZE];
NvDsClassifierMetaList *classifier_meta_list;
NvDsUserMetaList *obj_user_meta_list;
gint64 misc_obj_info[MAX_USER_FIELDS];
gint64 reserved[MAX_RESERVED_FIELDS];
gfloat Variation; //New Add
}NvDsObjectMeta;
My questions are:
1.I want to add “gfloat Variation” in NvDsObjectMeta,what do i have to do?
2.Why do I add a variable and give it a value, but it cannot be used together on different cpps.