Hi,
There is a prob function in source pad of nvdsanalytics. In first step, you can duplicate it to source pad of nvdsosd.