MxTextObject

Function Usage

Defines the text object data information.

Structure Definition

struct MxTextObject{
    std::vector<MxMetaHeader> headers;
    float x0;
    float y0;
    float x1;
    float y1;
    float x2;
    float y2;
    float x3
    float y3;
    float confidence;
    std::string text;
}

Parameter Description

Parameter

Input/Output

Description

headers

Input

Text object data header

x0

Input

X coordinate of the lower left corner of the text bounding box

y0

Input

Y coordinate of the lower left corner of the text bounding box

x1

Input

X coordinate of the lower right corner of the text bounding box

y1

Input

Y coordinate of the lower right corner of the text bounding box

x2

Input

X coordinate of the upper right corner of the text bounding box

y2

Input

Y coordinate of the upper right corner of the text bounding box

x3

Input

X coordinate of the upper left corner of the text bounding box

y3

Input

Y coordinate of the upper left corner of the text bounding box

confidence

Input

Confidence of the text bounding box

text

Input

Information about the text to be detected in the bounding box