OCR_Baseline

<< Click to Display Table of Contents >>

Navigation:  OCR Module > OCR Library Types >

OCR_Baseline


 

PRO SDK Icon OCR_Baseline

 


 

OCR_Baseline is used to store the baseline for text elements that are recognized during the OCR process. It also contains a height field for the height of text elements. These elements are coordinates and they are recorded in rasterized-image page coordinates:

 

(X1,Y1) is the left point of the line segment.

(X2, Y2) is the right point of the line segment.

Height is the average height of the text element.

 

Please note that members are case-sensitive:

 

 

MEMBER

 

 

TYPE

 

MEANING

 

X1

 

 

int

 

 

Coordinates in raster image coordinates. (0,0) is the top right of the page, as per Windows RECT coordinates.

 

 

X2

 

 

int

 

Coordinates in raster image coordinates. (0,0) is the top right of the page, as per Windows RECT coordinates.

 

Y1

 

 

int

 

Coordinates in raster image coordinates. (0,0) is the top right of the page, as per Windows RECT coordinates.

 

Y2

 

 

int

 

Coordinates in raster image coordinates. (0,0) is the top right of the page, as per Windows RECT coordinates.

 

Height

 

 

int

 

 

This is an optional member that contains the average height of the text element.