4. [DS7.0_ALL_nvtracker] The definition of NVDS_TRACKER_OBJ_REID_META changed between DS 6.x and DS 7.0
On DS 6.x:
NVDS_TRACKER_OBJ_REID_META includes one index. Application can get the ReID vector in NVDS_TRACKER_BATCH_REID_META with the index.
gint reidInd = *((int32_t *) (user_meta->user_meta_data));
On DS 7.0:
NVDS_TRACKER_OBJ_REID_META includes NvDsObjReid structure. Application can get the ReID vector in NvDsObjReid directly.
NvDsObjReid *pReidObj = (NvDsObjReid *) (user_meta->user_meta_data);
/**
* @brief Holds Reid Vector information for an object
*/
typedef struct _NvDsObjReid
{
/** ReID vector length. */
uint32_t featureSize;
/** ReID vector pointer on CPU. */
float* ptr_host;
/** ReID vector pointer on GPU. */
float* ptr_dev;
} NvDsObjReid;
Please check details with the source code in: /opt/nvidia/deepstream/deepstream-<DS_VERSION>/sources/apps/sample_apps/deepstream-app/deepstream_app.c
Related topic: Undocumented breaking change... Did NVDS_TRACKER_OBJ_REID_META change in DS 7?