|
VART-X
0.3.0
|
Structure representing Text information. More...
#include <vart_overlay_types.hpp>

Public Attributes | |
| OverlayCoordinates | points |
| char * | disp_text |
| uint32_t | bottom_left_origin |
| uint32_t | apply_bg_color |
| OverlayFontData | text_font |
| OverlayColorData | bg_color |
Structure representing Text information.
| vart::OverlayTextParams::apply_bg_color |
Set to non-zero if the text box needs to be filled with bg_color
| vart::OverlayTextParams::bg_color |
Background color information
| 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.
| 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.
| vart::OverlayTextParams::points |
Coordinates of the starting point of the rectangle in which text is to be displayed
| vart::OverlayTextParams::text_font |
Font of the text to be displayed