How to save frames with bounding boxes in objectDetector_Yolo? Or where to add probe?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) 1050Ti
• DeepStream Version deepstream-5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.2.2.3
• NVIDIA GPU Driver Version (valid for GPU only) 465.27
• Issue Type( questions, new requirements, bugs) new requirements
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

  1. you can install the probe on any downstream plugin of nvinfer if you just want to save the bboxes.
  2. You need to install the probe on the src pad of nvosd if you want to save the frame with drawing bbox on the frame

For the second solution, how to install the probe? I can not find the source code of the pipeline, either.