TextObjDetectInfo

Function

Defines the four coordinates and confidence of the detection frame.

Structure Definition

struct TextObjDetectInfo {
    float x0;
    float y0;
    float x1;
    float y1;
    float x2;
    float y2;
    float x3;
    float y3;
    float confidence;
};

Parameter Description

Parameter

Description

x0

One horizontal coordinate of the detection frame.

y0

One vertical coordinate of the detection frame.

x1

One horizontal coordinate of the detection frame.

y1

One vertical coordinate of the detection frame.

x2

One horizontal coordinate of the detection frame.

y2

One vertical coordinate of the detection frame.

x3

One horizontal coordinate of the detection frame.

y4

One vertical coordinate of the detection frame.

confidence

Confidence.