How to get the latency from deepstream python apps

I think I have shared the sample. deepstream_python_apps/bindings at master · NVIDIA-AI-IOT/deepstream_python_apps (github.com)

Yes. You can get NVDS_LATENCY_MEASUREMENT_META user meta from NvDsMetaType. But it should be in the probe function. This special meta will collect the latency information for most deepstream component, the information is time related, so it is meaningful after the data pass through the whole pipeline. If you collect the latency in different place and different time, some component may be missed. Please following the sample.