~vcs-imports/tesseract-ocr/trunk

« back to all changes in this revision

Viewing changes to ccmain/applybox.cpp

  • Committer: theraysmith at gmail
  • Date: 2013-11-08 20:30:56 UTC
  • Revision ID: svn-v4:d0cd1f9f-072b-0410-8dd7-cf729c803f20:trunk:904
Refactorerd control functions to enable parallel blob classification

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
void Tesseract::MaximallyChopWord(const GenericVector<TBOX>& boxes,
242
242
                                  BLOCK* block, ROW* row,
243
243
                                  WERD_RES* word_res) {
244
 
  if (!word_res->SetupForTessRecognition(unicharset, this, BestPix(), false,
245
 
                                         textord_use_cjk_fp_model,
246
 
                                         poly_allow_detailed_fx,
247
 
                                         row, block)) {
 
244
  if (!word_res->SetupForRecognition(unicharset, this, BestPix(),
 
245
                                     tessedit_ocr_engine_mode, NULL,
 
246
                                     classify_bln_numeric_mode,
 
247
                                     textord_use_cjk_fp_model,
 
248
                                     poly_allow_detailed_fx,
 
249
                                     row, block)) {
248
250
    word_res->CloneChoppedToRebuild();
249
251
    return;
250
252
  }