Skip to content

Commit

Permalink
Use BRT_UNKNOWN instead of BRT_NOISE to initialize ColPartition::blob…
Browse files Browse the repository at this point in the history
…_type_

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Nov 8, 2019
1 parent 9b46a67 commit 0406f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textord/colpartition.h
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ class ColPartition : public ELIST2_LINK {
// Median width of blobs in this partition.
int median_width_ = 0;
// blob_region_type_ for the blobs in this partition.
BlobRegionType blob_type_ = BRT_NOISE;
BlobRegionType blob_type_ = BRT_UNKNOWN;
BlobTextFlowType flow_ = BTFT_NONE; // Quality of text flow.
// Total of GoodTextBlob results for all blobs in the partition.
int good_blob_score_ = 0;
Expand Down

0 comments on commit 0406f77

Please sign in to comment.