How can I dynamically enable/disable one of the sgies?

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.2.1

My pipeline has 3 nvinfers, each nvinfer complete different task (pgie: detection, sgie1: deepsort-tracking,sgie2:face-recognition).

When sgie1 finished, I’d like to check if the person with id has already done face-recognition, if not , enable sgie2 and set a bool value to the person-id, otherwise,disable sgie2.

Can I do this with the currentversion of deepstream?

we will check internally and update you ASAP


It is possible in DS. Refer to nvinfer component. DS Reference app has a similar pipeline - when new tracker ID is assigned , inference is performed. Next time when same ID is assigned we do not do secondary inference. Inference is done only if size of the object changes by some specific % but for face detect this is not expected. Assigned ID from tracker is set in object Metadata and user can check this ID to avoid re-inference

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