Skip to content

Commit

Permalink
revert debug message commited by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Oct 13, 2018
1 parent f6fd9b3 commit 5f4f937
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/training/stringrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,7 @@ void StringRenderer::ComputeClusterBoxes() {
// pango.
std::vector<std::string> cluster_text;
if (GetClusterStrings(&cluster_text)) {
tprintf("* %d, cluster_text.size(): %d\t", page_, cluster_text.size());
tprintf("start_byte_to_box.size(): %d\n", start_byte_to_box.size());
if (cluster_text.size() != start_byte_to_box.size())
tprintf(">%s<\n", cluster_text[0].c_str());
ASSERT_HOST(cluster_text.size() == start_byte_to_box.size());
ASSERT_HOST(cluster_text.size() == start_byte_to_box.size());
int ind = 0;
for (std::map<int, BoxChar*>::iterator it = start_byte_to_box.begin();
it != start_byte_to_box.end(); ++it, ++ind) {
Expand Down

0 comments on commit 5f4f937

Please sign in to comment.