| 387 | } |
| 388 | |
| 389 | tesseract::TessBaseAPI *OCRParameters::GetOCR() |
| 390 | { |
| 391 | if (!initDone) { |
| 392 | Setup(); |
| 393 | } |
| 394 | return initDone ? ocr.get() : nullptr; |
| 395 | } |
| 396 | |
| 397 | bool OCRParameters::SetLanguageCode(const std::string &value) |
| 398 | { |
no test coverage detected