How to save images after tracking plug-ins

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 How to convert NV12_709/NV12_709_ER frame to cv::MAT on Jetson NX?
these formats are not supported by opencv, you can use convert these to rgb by nvconvert, please refer to Dump jpeg in deepstream5.0.