* Init only for page layout analysis. Use only for calls to SetImage and * AnalysePage. Calls that attempt recognition will generate an error. */
| 430 | * AnalysePage. Calls that attempt recognition will generate an error. |
| 431 | */ |
| 432 | void TessBaseAPI::InitForAnalysePage() { |
| 433 | if (tesseract_ == NULL) { |
| 434 | tesseract_ = new Tesseract; |
| 435 | tesseract_->InitAdaptiveClassifier(false); |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | /** |
| 440 | * Read a "config" file containing a set of parameter name, value pairs. |
no test coverage detected