How to receive video's metadata in Graph Composer?

**• Hardware Platform : GPU - 3090
**• DeepStream Version : 6.2
**• TensorRT Version : 8.5.3.1
**• NVIDIA GPU Driver Version : 525.85.12
**• Issue Type : bug
**• Graph Composer Version : 2.5.0


Hi,
I created a workflow that have 2 video inference object and an analytics object. (when i put the filter i received error so i deleted it). I can see roi, cross-line and crowded informations but i need to receive metadata and handle it. It is easy with python but i couldn’t understand how can i do with graph composer.


this is my workflow

this is my output


i want to access metadata and draw image (text like left top side “face”, bounding boxes) by python if possible.
I think it can made with probes, but i couldnt find any good doc or sample about probes and its implementations. Can you help please ?

Thanks so much.

You need to implement your own extensions for such functions. Development Workflow — DeepStream 6.2 Release documentation, GXF Development Guide — DeepStream 6.2 Release documentation

Yes, i tried them and create an extension with first link, but they dont tells how to create custom extension, how to fetch metadata or show any example. In second link there is only cpp codes and scheduler things. I want python sources to fetch metadata.

Graph Composer is not implemented with python nor there is any python interface provided.

The metadata reading is implemented with DeepStream APIs. Please study DeepStream APIs first.

I think i couldn’t express myself, sorry about it.

With these examples in github → GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications it is easy to develop an image processing application. We can directly change .py file and manipulate data as we wish. These are Deepstream Python API examples, they are understandable.

My question is :How can i use Deepstream Python APIs in graph composer ?

thank you.

You can not use python APIs in Graph Composer since Graph Composer does not support it

1 Like

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