"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/textord/colpartitiongrid.cpp" 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.

colpartitiongrid.cpp  (tesseract-5.0.0-rc2):colpartitiongrid.cpp  (tesseract-5.0.0-rc3)
skipping to change at line 878 skipping to change at line 878
if (part->right_key() > single_column_part->right_key()) { if (part->right_key() > single_column_part->right_key()) {
single_column_part->CopyRightTab(*part, false); single_column_part->CopyRightTab(*part, false);
} }
} }
} }
} }
} }
if (single_column_part != nullptr) { if (single_column_part != nullptr) {
// Make a ColPartitionSet out of the single_column_part as a candidate // Make a ColPartitionSet out of the single_column_part as a candidate
// for the single column case. // for the single column case.
single_column_part->SetColumnGoodness(std::move(cb)); single_column_part->SetColumnGoodness(cb);
return new ColPartitionSet(single_column_part); return new ColPartitionSet(single_column_part);
} }
return nullptr; return nullptr;
} }
// Mark the BLOBNBOXes in each partition as being owned by that partition. // Mark the BLOBNBOXes in each partition as being owned by that partition.
void ColPartitionGrid::ClaimBoxes() { void ColPartitionGrid::ClaimBoxes() {
// Iterate the ColPartitions in the grid. // Iterate the ColPartitions in the grid.
ColPartitionGridSearch gsearch(this); ColPartitionGridSearch gsearch(this);
gsearch.StartFullSearch(); gsearch.StartFullSearch();
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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