TextObjectInfo

Description

Defines information about objects in a text bounding box.

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
class TextObjectInfo {
public:
    float x0;
    float y0;
    float x1;
    float y1;
    float x2;
    float y2;
    float x3;
    float y3;
    float confidence;
    std::string result;
};

Parameters

Parameter

Description

x0

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

y0

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

x1

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

y1

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

x2

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

y2

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

x3

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

y3

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

confidence

Confidence of the text bounding box

result

Recognition result in the text bounding box