I used the reference deepstrem-app to construct a pipeline with a primary-gie and two secondary-gie elements.
From the pipeline graph, the src pad of secondary_gie_bin is the src pad of secondary_gie_bin_queue, which is to say the output of the two secondary NvInfer elements is not connected to the rest of the pipeline (they are connected to fake sinks).
How can I use the reference app to take metadata from secondary-gie elements and send over message broker?
If there is only a single SGIE element, the output of that is still going to a fakesink. How would it be possible to access the metadata generated by the SGIE element from a downstream message broker?
where exactly the the info is? How to extract those info
if obj_meta.class_id == PGIE_CLASS_ID_VEHICLE:
car_info = pyds.NvDsVehicleObject.cast(obj_meta)
print(car_info.color)
print(car_info.type)
Is above code the right way?