How to use object detection and segmentation models in the same pipeline and get the outputs in the screen

Sorry for the late reply but this solved my problem. I was able to draw on screen and improve FPS with the code in the link you mentioned: Deepstream sample code snippet

Thank you for your support!