Push frame back to DeepStream pipeline inside a probe function

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Nano
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only) 4.6.1
• TensorRT Version 8.2.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) Question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am using Deepstream 6.0 and trying to do some custom post processing inside a probe function on the sink of nvosd plugin. Is there a way to push back the post processed image back to the pipeline for visualization similar to the function that get the frame get_nvds_buf_surface
Thank you for your help

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)

• DeepStream Version

• JetPack Version (valid for Jetson only)

• TensorRT Version

• NVIDIA GPU Driver Version (valid for GPU only)

• Issue Type( questions, new requirements, bugs)

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

1 Like
  1. can you elaborate “some custom post processing” ?
  2. you can modify or add your display meta before nvosd pulgin, then nvosd will draw on frame, nveglglessink will display frame. please refer to deepstream sample deepstream-test1.

As far as I know, you cannot update frame in GstBuffer from a probe function. In the osd probe you’re actually making a copy of the original frame in GstBuffer.
You will need to implement your own plugin or can start from deepstream’s dsexample plugin.

please refer to Deepstream sample code snippet and some related topics in DeepStream SDK FAQ - #18 by bcao

Thanks for the reply! Sorry didn’t precise it but I am using DS python app. Is there a python binding to do that ?

please refer to How to modify frame buffer returned by `pyds.get_nvds_buf_surface`?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

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