How does deepstream-app get the location information of the detected vehicle

I want to use deepstream-app to get the network rtsp stream to get tracked and detected vehicle position information, and get a snapshot picture of each car.

What should i do, can you help me, thank you

All inference result is saved in metadata ->

You can refer to test1 “osd_sink_pad_buffer_probe()”

Thank you for your quick reply:
    Then I am using the yolo interface and the nvinfer plug-in, and I want to extract the vehicle pictures based on the position of the vehicle and the width and height of the vehicle, and use the yolo interface to detect and identify the sports car lights to determine whether the lights are on. So does the infer plugin provide this capability, and what would I do without it?

Got pipeline:
rtsp stream -> yolo vehicle detection -> yolo sports car lights detection -> determine whether the lights are on

We have back-to-back detector sample, can you refer to ? It should be OK for yolo detection.

hi ChrisDing:
Thank you for your reply, I’m glad that back-to-back can be applied, but I have problems in the process, can you check it for me? Thank you