Deepstream Outputs on other applications

Good Morning,

Is it possible to get the output instead of displaying it. I would like to create a gst plugin but get the output from it instead of showing it on the screen.

I would like to create a c++ apllication that gets the output from deepstream.

Something like
In my app:
Start gstreamer
run classifications, etc
then send me back the buffer/image and results.

Thank you for you help.

Refer to test1, probe callback can get output in metadata, also can get frame buffer https://devtalk.nvidia.com/default/topic/1061492/deepstream-sdk/deepstream-sdk-4-0-faq/post/5375257/#5375257
Refer to dsexample plugin, it can also get output in metadata and frame buffer.