"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/tesseract/pageiterator.h" between
tesseract-5.0.0-rc2.tar.gz and tesseract-5.0.0-rc3.tar.gz

About: Tesseract is an Optical Character Recognition (OCR) engine. Release candidate.

pageiterator.h  (tesseract-5.0.0-rc2):pageiterator.h  (tesseract-5.0.0-rc3)
skipping to change at line 266 skipping to change at line 266
/** /**
* Returns the baseline of the current object at the given level. * Returns the baseline of the current object at the given level.
* The baseline is the line that passes through (x1, y1) and (x2, y2). * The baseline is the line that passes through (x1, y1) and (x2, y2).
* WARNING: with vertical text, baselines may be vertical! * WARNING: with vertical text, baselines may be vertical!
* Returns false if there is no baseline at the current position. * Returns false if there is no baseline at the current position.
*/ */
bool Baseline(PageIteratorLevel level, int *x1, int *y1, int *x2, bool Baseline(PageIteratorLevel level, int *x1, int *y1, int *x2,
int *y2) const; int *y2) const;
// Returns the attributes of the current row.
void RowAttributes(float *row_height, float *descenders,
float *ascenders) const;
/** /**
* Returns orientation for the block the iterator points to. * Returns orientation for the block the iterator points to.
* orientation, writing_direction, textline_order: see publictypes.h * orientation, writing_direction, textline_order: see publictypes.h
* deskew_angle: after rotating the block so the text orientation is * deskew_angle: after rotating the block so the text orientation is
* upright, how many radians does one have to rotate the * upright, how many radians does one have to rotate the
* block anti-clockwise for it to be level? * block anti-clockwise for it to be level?
* -Pi/4 <= deskew_angle <= Pi/4 * -Pi/4 <= deskew_angle <= Pi/4
*/ */
void Orientation(tesseract::Orientation *orientation, void Orientation(tesseract::Orientation *orientation,
tesseract::WritingDirection *writing_direction, tesseract::WritingDirection *writing_direction,
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)