| 212 | } |
| 213 | |
| 214 | bool TessBaseAPI::SetVariable(const char* name, const char* value) { |
| 215 | if (tesseract_ == NULL) tesseract_ = new Tesseract; |
| 216 | return ParamUtils::SetParam(name, value, SET_PARAM_CONSTRAINT_NON_INIT_ONLY, |
| 217 | tesseract_->params()); |
| 218 | } |
| 219 | |
| 220 | bool TessBaseAPI::SetDebugVariable(const char* name, const char* value) { |
| 221 | if (tesseract_ == NULL) tesseract_ = new Tesseract; |
no test coverage detected