NvOSD_LineParams

class pyds.NvOSD_LineParams

Holds the box parameters of the line to be overlaid.

Variables:
  • x1 – int, Holds left coordinate of the box in pixels.

  • y1 – int, Holds top coordinate of the box in pixels.

  • x2 – int, Holds width of the box in pixels.

  • y2 – int, Holds height of the box in pixels.

  • line_width – int, Holds border_width of the box in pixels.

  • line_color – NvOSD_ColorParams, Holds color params of the border of the box.

cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvOSD_LineParams

cast given object/data to NvOSD_LineParams, call pyds.NvOSD_LineParams.cast(data)

  1. cast(self: int) -> pyds.NvOSD_LineParams

cast given object/data to NvOSD_LineParams, call pyds.NvOSD_LineParams.cast(data)