How to modify annotation function in deepstream app

Hi Guys,

I wish to modify the annotations which deepstream application does on the frames. Could you please point me on how to do the same? In the recently concluded webinar, it was mentioned that it is possible to override the function with our own implementation.

Please help me out.

Thanks.

Please refer to test1 osd_sink_pad_buffer_probe()
You can change osd setting in this function.