How to get the data corresponding to the frame with source id

• JetsonNano
• DS6.0
• Jetpack 4.6
• TensorRT 8.0.1

I have a multi-input rtsp video after inference and tracking, how to get the data of each channel through the source id

my code:

while l_frame is not None:
try:
frame_meta = pyds.NvDsFrameMeta.cast(l_frame.data)
source_id = frame_meta.source_id

how to get every frame’s data with source_id
thanks for your help!!

With “pyds.get_nvds_buf_surface” interface. get_segmentation_masks — Deepstream Deepstream Version: 6.0 GA documentation

Please refer to deepstream_python_apps/apps/deepstream-imagedata-multistream at master · NVIDIA-AI-IOT/deepstream_python_apps (github.com)

thank you for your help I’ll try it

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.