mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Merge pull request #1589 from stweil/fix
ColPartition: Add missing initialisation for median_left, median_right
This commit is contained in:
commit
e9197f30f3
@ -164,6 +164,8 @@ ColPartition* ColPartition::MakeLinePartition(BlobRegionType blob_type,
|
||||
part->median_bottom_ = bottom;
|
||||
part->median_top_ = top;
|
||||
part->median_size_ = top - bottom;
|
||||
part->median_left_ = left;
|
||||
part->median_right_ = right;
|
||||
part->median_width_ = right - left;
|
||||
part->left_key_ = part->BoxLeftKey();
|
||||
part->right_key_ = part->BoxRightKey();
|
||||
|
Loading…
Reference in New Issue
Block a user