DEEPSTREAM 5.0 draw circles

Are there any examples that show how to draw circles on frames?

Hi
Here is one example, please change accordingly for your needs.
add below code under nvds_add_obj_meta_to_frame(frame_meta, obj_meta, parent_obj_meta);
in source sources/gst-plugins/gst-nvinfer/gstnvinfer_meta_utils.cpp
build the plugin, and remember copy to /opt/nvidia/deepstream/deepstream-4.0/lib/gst-plugins/, backup original one.

display_meta = nvds_acquire_display_meta_from_pool (batch_meta);
NvOSD_CircleParams *circle_params = display_meta->circle_params;
for ( int j=0; j < 1; j++ )
{
   circle_params[j].xc =  50;
   circle_params[j].yc =  50;
   circle_params[j].radius = 30;
   circle_params[j].circle_color = (NvOSD_ColorParams){0.0, 1.0, 0.0, 1.0};
   display_meta->num_circles ++; 
}

Many thanks.