"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/tesseract/ltrresultiterator.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.

ltrresultiterator.h  (tesseract-5.0.0-rc2):ltrresultiterator.h  (tesseract-5.0.0-rc3)
skipping to change at line 96 skipping to change at line 96
// Set the string inserted at the end of each text line. "\n" by default. // Set the string inserted at the end of each text line. "\n" by default.
void SetLineSeparator(const char *new_line); void SetLineSeparator(const char *new_line);
// Set the string inserted at the end of each paragraph. "\n" by default. // Set the string inserted at the end of each paragraph. "\n" by default.
void SetParagraphSeparator(const char *new_para); void SetParagraphSeparator(const char *new_para);
// Returns the mean confidence of the current object at the given level. // Returns the mean confidence of the current object at the given level.
// The number should be interpreted as a percent probability. (0.0f-100.0f) // The number should be interpreted as a percent probability. (0.0f-100.0f)
float Confidence(PageIteratorLevel level) const; float Confidence(PageIteratorLevel level) const;
// Returns the attributes of the current row.
void RowAttributes(float *row_height, float *descenders,
float *ascenders) const;
// ============= Functions that refer to words only ============. // ============= Functions that refer to words only ============.
// Returns the font attributes of the current word. If iterating at a higher // Returns the font attributes of the current word. If iterating at a higher
// level object than words, eg textlines, then this will return the // level object than words, eg textlines, then this will return the
// attributes of the first word in that textline. // attributes of the first word in that textline.
// The actual return value is a string representing a font name. It points // The actual return value is a string representing a font name. It points
// to an internal table and SHOULD NOT BE DELETED. Lifespan is the same as // to an internal table and SHOULD NOT BE DELETED. Lifespan is the same as
// the iterator itself, ie rendered invalid by various members of // the iterator itself, ie rendered invalid by various members of
// TessBaseAPI, including Init, SetImage, End or deleting the TessBaseAPI. // TessBaseAPI, including Init, SetImage, End or deleting the TessBaseAPI.
// Pointsize is returned in printers points (1/72 inch.) // Pointsize is returned in printers points (1/72 inch.)
 End of changes. 1 change blocks. 
4 lines changed or deleted 0 lines changed or added

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