NVIDIA DeepStream SDK API Reference

9.2 Release
Text Struct Reference

Detailed Description

Carrier class to handle string transfer.

Definition at line 28 of file service-maker/sources/python/src/bindings/osd.h.

Inheritance diagram for Text:
Collaboration diagram for Text:

Data Fields

std::string text
 
char * display_text
 Holds the text to be overlayed. More...
 
unsigned int x_offset
 Holds the text's horizontal offset from the top left pixel of the frame. More...
 
unsigned int y_offset
 Holds the text's vertical offset from the top left pixel of the frame. More...
 
NvOSD_FontParams font_params
 Holds the font parameters of the text to be overlaid. More...
 
int set_bg_clr
 Holds a Boolean; true if the text has a background color. More...
 
NvOSD_ColorParams text_bg_clr
 Holds the text's background color, if specified. More...
 

Field Documentation

◆ display_text

char * _NvOSD_TextParams::display_text
inherited

Holds the text to be overlayed.

Definition at line 121 of file includes/nvll_osd_struct.h.

Referenced by module_metadata_bind().

◆ font_params

NvOSD_FontParams _NvOSD_TextParams::font_params
inherited

Holds the font parameters of the text to be overlaid.

Definition at line 127 of file includes/nvll_osd_struct.h.

Referenced by module_metadata_bind(), and module_osd_bind().

◆ set_bg_clr

int _NvOSD_TextParams::set_bg_clr
inherited

Holds a Boolean; true if the text has a background color.

Definition at line 129 of file includes/nvll_osd_struct.h.

Referenced by module_osd_bind().

◆ text

std::string Text::text

◆ text_bg_clr

NvOSD_ColorParams _NvOSD_TextParams::text_bg_clr
inherited

Holds the text's background color, if specified.

Definition at line 132 of file includes/nvll_osd_struct.h.

Referenced by module_metadata_bind(), and module_osd_bind().

◆ x_offset

unsigned int _NvOSD_TextParams::x_offset
inherited

Holds the text's horizontal offset from the top left pixel of the frame.

Definition at line 123 of file includes/nvll_osd_struct.h.

Referenced by module_metadata_bind(), and module_osd_bind().

◆ y_offset

unsigned int _NvOSD_TextParams::y_offset
inherited

Holds the text's vertical offset from the top left pixel of the frame.

Definition at line 125 of file includes/nvll_osd_struct.h.

Referenced by module_metadata_bind(), and module_osd_bind().


The documentation for this struct was generated from the following file: