Deepstream save image with bounding box

Hi,

You may add prob function in source pad of nvdsosd plugin. The buffer is in RGBA format and you can simply map it to cv::Mat.

Sample code of saving full frame:

For your usecase, you may ignore NV12 to RGBA conversion.