Hardware Platform (Jetson / GPU):
GPU (NVIDIA GeForce RTX 4090)
• DeepStream Version:
7.1
• JetPack Version (valid for Jetson only):
N/A
• TensorRT Version:
10.7.0.23
• NVIDIA GPU Driver Version (valid for GPU only):
565.57.01
Issue Details
I am currently working on a DeepStream application using the deepstream-app.c file. My pipeline consists of:
- PGIE: Primary GIE for people detection
- SGIE0: Secondary GIE for face detection
- SGIE1: Secondary GIE for face recognition
Here’s the challenge I’m facing:
- In the
analytics_done_buf_probfunction, I can successfully retrieve thesource_id(camera ID). However, at this stage, I only have access to the analytics output and not the complete inference results. - In the
gie_processing_done_buf_probfunction, I have access to the complete inference results (PGIE + SGIEs), but here thesource_idis always0.
I need to propagate the source_id from analytics_done_buf_prob to gie_processing_done_buf_prob so I can use it alongside the complete inference results.
Additionally, I would like to store images for frames corresponding to the secondary model (SGIE) outputs. Currently, I am attempting to do this in the gie_processing_done_buf_prob function but am unsure of the proper way to achieve it.
Requirement Details
- Module Name:
deepstream-app.c - Function Description:
- How can I retain or propagate the
source_idfromanalytics_done_buf_probtogie_processing_done_buf_prob? - What is the best approach to store frames corresponding to the secondary model outputs in the
gie_processing_done_buf_probfunction?
- How can I retain or propagate the
Steps to Reproduce
- Modify the
deepstream-app.cfile to include custom processing logic inanalytics_done_buf_probandgie_processing_done_buf_prob. - Run the pipeline with the following configuration:
- PGIE: People detection
- SGIE0: Face detection
- SGIE1: Face recognition
- Observe the behavior of
source_idand attempt to store SGIE output frames.