• Hardware Platform (Jetson / GPU) Jetson Orin Nano
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only) 5.1.1-b56
Hi,
The NvOSD_CircleParams class does not include any “line width” parameter to adjust the overlay circle thickness. Somehow, the thickness seems to be taken from the last NvOSD_LineParams->line_width that was defined, as if there was some kind of cached parameter that would be used for the circle line thickness. Thus, it is currently not possible to decorrelate the circle thickness with the line thickness.
Example:
NvOSD_CircleParams *circle_params = display_meta->circle_params;
//Adding below line sets the circle thickness to 5
line_params[1].line_width = 5;
circle_params[0].xc = c_x;
circle_params[0].yc = c_y;
circle_params[0].radius = r;
circle_params[0].circle_color = (NvOSD_ColorParams){0.0, 1.0, 0, 0.5};
//If below line is omitted, circle [0] thickness will be 5. If below line is included, circle [0] thickness will be 2.
line_params[1].line_width = 2;
Not sure if this is the intended behavior or a bug.
But anyhow, a workaround to have a different circle thickness than line thickness would be appreciated.