Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
Jetson • DeepStream Version
5.0 • JetPack Version (valid for Jetson only)
4.4 • TensorRT Version
7.1
I can’t seem to set the background color for a circle using the NvOSD_CircleParams.
Setting the has_bg_color = 1; in the below structure does not seem to do anything…
Thanks,
Robert.
/**
* Holds circle parameters to be overlayed.
*/
typedef struct _NvOSD_CircleParams {
unsigned int xc; /**< Holds the start horizontal coordinate in pixels. */
unsigned int yc; /**< Holds the start vertical coordinate in pixels. */
unsigned int radius; /**< Holds the radius of circle in pixels. */
NvOSD_ColorParams circle_color;
/**< Holds the color parameters of the arrow box. */
unsigned int has_bg_color; /*< Holds a Boolean value indicating whether
the circle has a background color. */
NvOSD_ColorParams bg_color; /*< Holds the circle's background color. */
unsigned int reserved; /**< Reserved for future use; currently
for internal use only. */
} NvOSD_CircleParams;
C
I’ve also noticed that the NvOSD_CircleParams are relative to the Tiler’s dimensions (if you used), where as the other text and shapes are relative to the Stream-muxer dimensions.
This is noticeable when you scale the Tiler output… everything scales correctly, except for the circle. I will create a new topic if I can’t find anything currently open for this.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Hey @prominence_ai, could you share we a demo to repro the issue?
I can confirm the issue with the circle background color, and the dimensions for drawing. I expecte stream muxer dimensions, however, it works with Tiler dimensions.