NvOSD_FontParams

class pyds.NvOSD_FontParams

Holds the font parameters of the text to be overlayed. See NvOSD_TextParams docs for example usage.

Variables:
  • fontnamestr, Holds the font name. The list of supported fonts can be obtained by running fc-list command

  • fontsizeint, Holds size of the font.

  • fontcolorNvOSD_ColorParams, Holds the font color.

cast(*args, **kwargs)

Overloaded function.

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

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

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

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