NvOSD_FontParams

class pyds.NvOSD_FontParams

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

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

  • fontsize – int, Holds size of the font.

  • fontcolor – NvOSD_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)