OptionalassetsSelf-hosted asset locations; languageDataBaseUrl is required when recognition starts.
OptionalcoreBaseUrl?: string | URLDirectory containing the shipped Tesseract LSTM core JS/WASM variants; defaults to the packaged assets/core. Supports Node filesystem paths and file URLs.
OptionallanguageDataBaseUrl?: string | URLDirectory containing language.traineddata.gz files. No implicit language-model CDN is used.
OptionalworkerUrl?: string | URLWorker script location. Defaults to the packaged worker next to this module; bundled browser apps should supply the hosted worker.min.js URL.
OptionalconcurrencyMaximum reusable worker count, 1–8; defaults to one.
Nonempty Tesseract language identifiers, for example ['eng', 'deu']. Supply matching traineddata.gz files.
Worker-pool and asset configuration. No worker or model is loaded until recognition begins.