* Runs page layout analysis in the mode set by SetPageSegMode. * May optionally be called prior to Recognize to get access to just * the page layout results. Returns an iterator to the results. * If merge_similar_words is true, words are combined where suitable for use * with a line recognizer. Use if you want to use AnalyseLayout to find the * textlines, and then want to process textline fra
| 807 | * DetectOS, or anything else that changes the internal PAGE_RES. |
| 808 | */ |
| 809 | PageIterator* TessBaseAPI::AnalyseLayout() { return AnalyseLayout(false); } |
| 810 | |
| 811 | PageIterator* TessBaseAPI::AnalyseLayout(bool merge_similar_words) { |
| 812 | if (FindLines() == 0) { |
no test coverage detected