Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
Jetson Xavier Nx • DeepStream Version
6.0.1 • JetPack Version (valid for Jetson only)
4.6 • TensorRT Version
8.0.1.6 • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
How to get the measure latency of all modules? I’ve seen https://forums.developer.nvidia.com/t/how-to-get-the-latency-from-deepstream-python-apps/197227. I think there are two ways? One is to “access NVDS_LATENCY_MEASUREMENT_META type user meta” and the other is to “use nvds_measure_buffer_latency() API”. But whatever I tried pyds. NvDsFrameLatencyInfo.cast() or pyds.nvds_measure_buffer_latency(), I got AttributeError: module ‘pyds’ has no attribute ‘NvDsFrameLatencyInfo’ and AttributeError: module ‘pyds’ has no attribute ‘nvds_measure_buffer_latency’. Can you give some sample codes?
Thanks
Our deepstream 6.2 GA is available now. We sugget you update to the latest version. The latest python code has the NVDS_LATENCY_MEASUREMENT_META in bindnvdsmeta.cpp.
There is only a type enum “NVDS_LATENCY_MEASUREMENT_META” of NvDsMetaType in both v1.1.1 and v1.1.6. But there is no the class definition of latency meta like other meta ( such as NvDsObjectMeta in bindnvdsmeta.cpp or NvDsPastFrameObj in bindnvdstrackermeta.cpp). So how should I access latency meta data?