Obj_meta->object_id sample 1 deepstream

When i try to print the parameter obj_meta->object_id i always got -1… why?

Did you enable tracker?

oh no, where can i find this option?

You can refer to config, samples/configs/deepstream-app/source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
which have tracker group.

i think it is already active
i can read “enable=1” in the [tracker] section

make sure you add probe after tracker.