VART-X  0.3.0
vart::OverlayTextParams Struct Reference

Structure representing Text information. More...

#include <vart_overlay_types.hpp>

Collaboration diagram for vart::OverlayTextParams:

Public Attributes

OverlayCoordinates points
 
char * disp_text
 
uint32_t bottom_left_origin
 
uint32_t apply_bg_color
 
OverlayFontData text_font
 
OverlayColorData bg_color
 

Detailed Description

Structure representing Text information.

Member Data Documentation

◆ apply_bg_color

vart::OverlayTextParams::apply_bg_color

Set to non-zero if the text box needs to be filled with bg_color

◆ bg_color

vart::OverlayTextParams::bg_color

Background color information

◆ bottom_left_origin

vart::OverlayTextParams::bottom_left_origin

Set to non-zero if the points represents the co-ordinates of bottom left corner of the text rectangle. Set to 0 in case the points represent the co-ordinates of the top-left corner of the text rectangle.

◆ disp_text

vart::OverlayTextParams::disp_text

Text string to be displayed. Must be a non-null pointer to a valid null-terminated C string; the OpenCV backend calls strdup on it without a null check, so a null or invalid pointer is undefined behavior.

◆ points

vart::OverlayTextParams::points

Coordinates of the starting point of the rectangle in which text is to be displayed

◆ text_font

vart::OverlayTextParams::text_font

Font of the text to be displayed


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