Re: [tesseract-ocr] Re: Tesseract gives the same results in cube mode, is this normal/common?

2015-09-04 Thread zdenko podobny
tessedit_ocr_engine_mode is init-only[1] parameter (INT_INIT_MEMBER [2]) e.g. you can set it only during initialization of tesseract. Otherwise it has no effect. [1] https://github.com/tesseract-ocr/tesseract/wiki/ControlParams#init-only [2]

[tesseract-ocr] Re: Tesseract gives the same results in cube mode, is this normal/common?

2015-09-03 Thread fsbo . consult
You may notice tessedit_ocr_engine_mode being set to 3 which is of course outside of the accepted range of 0-2, it does not work in the accepted range either, printing 0 just the same. Also, when I call api->SetVariable( "tessedit_char_whitelist", "0123456789abc ... it works just fine. On

[tesseract-ocr] Re: Tesseract gives the same results in cube mode, is this normal/common?

2015-09-03 Thread fsbo . consult
Further Detail: int value123221; api->GetIntVariable("tessedit_ocr_engine_mode", ); std::cout << value123221 << std::endl; std::cout << "Val1" << std::endl; api->SetVariable("tessedit_ocr_engine_mode", "3");