NvOSD_RectParams

class pyds.NvOSD_RectParams(self: pyds.NvOSD_RectParams) → None

Holds the box parameters of the box to be overlayed.

property bg_color

Holds background color of the box.

property border_color

Holds color params of the border of the box.

property border_width

Holds border_width of the box in pixels.

property color_id

id of the color

property has_bg_color

Holds boolean value indicating whether box has background color.

property has_color_info

color_info

property height

Holds height of the box in pixels.

property left

Holds left coordinate of the box in pixels.

property reserved

Reserved field for future usage. For internal purpose only

property top

Holds top coordinate of the box in pixels.

property width

Holds width of the box in pixels.