MxTextObject

Description

Defines the text object data information.

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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;
}

Parameters

Parameter

Input/Output

Description

headers

Input

Text object data header.

x0

Input

Horizontal coordinate of the lower left corner of the text bounding box.

y0

Input

Vertical coordinate of the lower left corner of the text bounding box.

x1

Input

Horizontal coordinate of the lower right corner of the text bounding box.

y1

Input

Vertical coordinate of the lower right corner of the text bounding box.

x2

Input

Horizontal coordinate of the upper right corner of the text bounding box.

y2

Input

Vertical coordinate of the upper right corner of the text bounding box.

x3

Input

Horizontal coordinate of the upper left corner of the text bounding box.

y3

Input

Vertical 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.