MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / reset

Method reset

src/ocr/recognizerworker.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void RecognizeWorker::reset(const QString &tessdataPath)
47{
48 if (tessdataPath_ == tessdataPath)
49 return;
50
51 tessdataPath_ = tessdataPath;
52 engines_.clear();
53 LTRACE() << "Cleared OCR engines";
54}
55
56void RecognizeWorker::removeUnused(Generation current)
57{

Callers 11

setAutoUpdateMethod · 0.45
initMethod · 0.45
recognizeMethod · 0.45
recognizeAndTranslateMethod · 0.45
translateMethod · 0.45
updateSettingsMethod · 0.45
ParamIteratorClass · 0.45
AdvanceMethod · 0.45
CurrentMethod · 0.45
gtest.hFile · 0.45

Calls

no outgoing calls

Tested by 3

AdvanceMethod · 0.36
CurrentMethod · 0.36