refactor: remove unused lang (for now)
This commit is contained in:
parent
b717c7689c
commit
5c978fd8f3
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export async function runOcr<T extends (result: RecognizeResult) => void>(
|
||||||
callback?: T,
|
callback?: T,
|
||||||
) {
|
) {
|
||||||
if (!worker) {
|
if (!worker) {
|
||||||
worker = await createWorker(['ocrb', 'eng', 'khm'], 1, {
|
worker = await createWorker(['ocrb', 'eng'], 1, {
|
||||||
langPath: '/ocr-data',
|
langPath: '/ocr-data',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue