Run SGIE classifier depending on PGIE classifier results


I need to know if it is possible to run a pipeline using deepstream-app that runs two consecutive classifications with two different models. All I’ve seen regarding pgie and sgies is performed using a detector as pgie and the applying a classifier as sgie, which makes sense but is a bit different from our scenario where the first model is not giving bboxes as an output.

If this is possible, can somebody share a config file of this kind of scenario?

One of the problems I’ve experienced is that apparently the secondary gie does not support using process mode FULL_FRAME since the system is reseting the value automatically to PROCESS_MODE_CLIP_OBJECTS …

• Hardware Platform (Jetson / GPU) - RTX 3090
• DeepStream Version 6.2

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

please refer to this classification, which will use classication model as pgie. if using two consecutive classification models, please refer to this command:
gst-launch-1.0 filesrc location=blueCar.jpg ! jpegdec ! videoconvert ! video/x-raw,format=I420 ! nvvideoconvert ! video/x-raw(memory:NVMM),format=NV12 ! mux.sink_0 nvstreammux name=mux batch-size=1 width=1280 height=720 ! nvinfer config-file-path=./dstest_appsrc_config.txt ! nvinfer config-file-path=./cartype.txt ! nvvideoconvert ! video/x-raw(memory:NVMM),format=RGBA ! nvdsosd ! nvvideoconvert ! video/x-raw,format=I420 ! jpegenc ! filesink location=out.jpg
cartype.txt (3.7 KB)