Access class names

Hardware Platform: Jetson Nano
DeepStream Version: 6.0
JetPack Version: 4.6.4

Problem Statement:

I have an object detection pipeline that streams video to a display while simultaneously splitting and saving it using splitmuxsink. I need a way to access the detected object data, such as class names, during processing.

The pipeline structure is as follows:

!pipeline || !source || !videorate || !capsfilter || !nvvideoconvert || 
!streammux || !pgie || !nvosd || !nvvidconv2 || !tee || !queue1 ||
!encoder || !parser || !splitmuxsink || !queue2 || !autovideosink
  • pgie (nvinfer) is the primary inference engine.
  • nvosd (nvdosd) is responsible for on-screen display.

Is there a way to retrieve detected object data, such as class names, from pgie or nvosd? Iam working on C and Are there any specific properties or methods to access this information?

Yes. You can refer to our deepstream-test1 sample. There is a probe function osd_sink_pad_buffer_probe. You can retrieve the obj_meta_list yourself.

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