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

Method GetStringVariable

deps/tesseract/api/baseapi.cpp:242–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242const char *TessBaseAPI::GetStringVariable(const char *name) const {
243 StringParam *p = ParamUtils::FindParam<StringParam>(
244 name, GlobalParams()->string_params, tesseract_->params()->string_params);
245 return (p != NULL) ? p->string() : NULL;
246}
247
248bool TessBaseAPI::GetDoubleVariable(const char *name, double *value) const {
249 DoubleParam *p = ParamUtils::FindParam<DoubleParam>(

Callers 3

NAN_GETTERFunction · 0.80
AddImageHandlerMethod · 0.80

Calls 3

GlobalParamsFunction · 0.85
paramsMethod · 0.80
stringMethod · 0.45

Tested by

no test coverage detected