MCPcopy Create free account
hub / github.com/creatale/node-dv / SetVariable

Method SetVariable

deps/tesseract/api/baseapi.cpp:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214bool 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
220bool TessBaseAPI::SetDebugVariable(const char* name, const char* value) {
221 if (tesseract_ == NULL) tesseract_ = new Tesseract;

Callers 5

NAN_SETTERFunction · 0.80
TesseractMethod · 0.80
TessBaseAPISetVariableFunction · 0.80
SetVariablesFromCLArgsFunction · 0.80

Calls 1

paramsMethod · 0.80

Tested by

no test coverage detected