MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / ~Recognizer

Method ~Recognizer

src/ocr/recognizer.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67Recognizer::~Recognizer()
68{
69 workerThread_->quit();
70 const auto timeoutMs = 2000;
71 if (!workerThread_->wait(timeoutMs)) {
72 LTRACE() << "terminating tesseract thread";
73 workerThread_->terminate();
74 }
75}
76
77void Recognizer::updateSettings()
78{

Callers

nothing calls this directly

Calls 1

quitMethod · 0.80

Tested by

no test coverage detected