|
|
@ -32,7 +32,8 @@ declare namespace Tesseract { |
|
|
|
cacheMethod: string |
|
|
|
cacheMethod: string |
|
|
|
workerBlobURL: boolean |
|
|
|
workerBlobURL: boolean |
|
|
|
gzip: boolean |
|
|
|
gzip: boolean |
|
|
|
logger: (arg: any) => void |
|
|
|
logger: (arg: any) => void, |
|
|
|
|
|
|
|
errorHandler: (arg: any) => void |
|
|
|
} |
|
|
|
} |
|
|
|
interface WorkerParams { |
|
|
|
interface WorkerParams { |
|
|
|
tessedit_ocr_engine_mode: OEM |
|
|
|
tessedit_ocr_engine_mode: OEM |
|
|
|