Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Jetson Nano 3GB
• DeepStream Version: 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.2.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): Creating Deepstream pipeline
• 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)
So my issue is that I have a single source in my pipeline and I want to only infer certain regions of it with the same PGIE and Tracker and then visualize them back on the same output (display/rtsp stream - mostly for debugging). I also need a probe to fetch data about each detected object inside each region for counting them and sending statistics to the external server which is why I’m using Python API for Deepstream.
From what I’ve researched so far is that I need a “tee” element to duplicate input stream and then use “nvvideoconvert” or “videocrop” to cut my ROIs and then infer them on separate branches - kinda like here.
But I can’t get it to work with Python and I’m kinda lost what’s the best approach here and the additional issue is that I haven’t really seen anyone doing this kinda thing in Python. But this is the pipeline that I think should work here (for 2 ROIs):
|-> NVVIDEOCONVERT [with src-crop] -> PGIE -> TRACKER ->| URIDECODE_BIN -> NVSTREAMMUX -> TEE ->| |-> NVMULTISTREAMTILER -> NVOSD -> NV3D-SINK |-> NVVIDEOCONVERT [with src-crop] -> PGIE -> TRACKER ->|
The resulting OSD doesn’t have to be those regions put back in their place with visualized detections but they have to be at least placed next to each other using for example Tiler. I can’t seem to get it to work in Python and wanted to ask if this is the right approach for this kind of thing. Would really appreciate some tips or maybe links with similar issues resolved using Python API so I could implement this in my own project.