|
19 | 19 | // training-related code, but they don't interfere with normal
|
20 | 20 | // recognition operation.
|
21 | 21 | // Author: Ray Smith
|
22 |
| -// Created: Fri Mar 07 08:17:01 PST 2008 |
23 | 22 | //
|
24 | 23 | // (C) Copyright 2008, Google Inc.
|
25 | 24 | // Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -490,7 +489,7 @@ Tesseract::Tesseract()
|
490 | 489 | "Min acceptable orientation margin", this->params()),
|
491 | 490 | BOOL_MEMBER(textord_tabfind_show_vlines, false, "Debug line finding",
|
492 | 491 | this->params()),
|
493 |
| - BOOL_MEMBER(textord_use_cjk_fp_model, FALSE, "Use CJK fixed pitch model", |
| 492 | + BOOL_MEMBER(textord_use_cjk_fp_model, false, "Use CJK fixed pitch model", |
494 | 493 | this->params()),
|
495 | 494 | BOOL_MEMBER(poly_allow_detailed_fx, false,
|
496 | 495 | "Allow feature extractors to see the original outline",
|
@@ -689,7 +688,7 @@ void Tesseract::PrepareForTessOCR(BLOCK_LIST* block_list,
|
689 | 688 | // (from the last SegmentImage call) with blobs from the real image to be used
|
690 | 689 | // for OCR.
|
691 | 690 | if (splitter_.HasDifferentSplitStrategies()) {
|
692 |
| - BLOCK block("", TRUE, 0, 0, 0, 0, pixGetWidth(pix_binary_), |
| 691 | + BLOCK block("", true, 0, 0, 0, 0, pixGetWidth(pix_binary_), |
693 | 692 | pixGetHeight(pix_binary_));
|
694 | 693 | Pix* pix_for_ocr = split_for_ocr ? splitter_.splitted_image() :
|
695 | 694 | splitter_.orig_pix();
|
|
0 commit comments