|
|
@ -10,9 +10,9 @@ In Node.js environment, the only path you may want to customize is languages/lan |
|
|
|
|
|
|
|
|
|
|
|
```javascript |
|
|
|
```javascript |
|
|
|
const worker = Tesseract.TesseractWorker({ |
|
|
|
const worker = Tesseract.TesseractWorker({ |
|
|
|
workerPath: 'https://unpkg.com/tesseract.js@v2.0.0-alpha.5/dist/worker.min.js', |
|
|
|
workerPath: 'https://unpkg.com/tesseract.js@v2.0.0-alpha.6/dist/worker.min.js', |
|
|
|
langPath: 'https://tessdata.projectnaptha.com/4.0.0', |
|
|
|
langPath: 'https://tessdata.projectnaptha.com/4.0.0', |
|
|
|
corePath: 'https://unpkg.com/tesseract.js-core@v2.0.0-beta.9/tesseract-core.wasm.js', |
|
|
|
corePath: 'https://unpkg.com/tesseract.js-core@v2.0.0-beta.10/tesseract-core.wasm.js', |
|
|
|
}); |
|
|
|
}); |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|