NvOSD_LineParams

class pyds.NvOSD_LineParams

Holds the box parameters of the line to be overlaid.

Variables:
  • x1int, Holds left coordinate of the box in pixels.

  • y1int, Holds top coordinate of the box in pixels.

  • x2int, Holds width of the box in pixels.

  • y2int, Holds height of the box in pixels.

  • line_widthint, Holds border_width of the box in pixels.

  • line_colorNvOSD_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)