| 44 | } |
| 45 | |
| 46 | void 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 | |
| 56 | void RecognizeWorker::removeUnused(Generation current) |
| 57 | { |
no outgoing calls