tesseract.js
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -13,5 +13,5 @@ ## Local Installation | ||
Tesseract.recognize(image, langs, { | ||
workerPath: 'https://unpkg.com/tesseract.js@v4.0.0/dist/worker.min.js', | ||
workerPath: 'https://unpkg.com/tesseract.js@v4.0.1/dist/worker.min.js', | ||
langPath: 'https://tessdata.projectnaptha.com/4.0.0', | ||
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.wasm.js', | ||
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.wasm.js', | ||
}) | ||
@@ -24,5 +24,5 @@ ``` | ||
const worker = await createWorker({ | ||
workerPath: 'https://unpkg.com/tesseract.js@v4.0.0/dist/worker.min.js', | ||
workerPath: 'https://unpkg.com/tesseract.js@v4.0.1/dist/worker.min.js', | ||
langPath: 'https://tessdata.projectnaptha.com/4.0.0', | ||
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.wasm.js', | ||
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.wasm.js', | ||
}); | ||
@@ -38,4 +38,4 @@ ``` | ||
### corePath | ||
A string specifying the location of the [tesseract.js-core library](https://github.com/naptha/tesseract.js-core), with default value 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.wasm.js'. | ||
A string specifying the location of the [tesseract.js-core library](https://github.com/naptha/tesseract.js-core), with default value 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.wasm.js'. | ||
Another WASM option is 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.js' which is a script that loads 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.wasm'. But it fails to fetch at this moment. | ||
Another WASM option is 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.js' which is a script that loads 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.wasm'. But it fails to fetch at this moment. |
{ | ||
"name": "tesseract.js", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Pure Javascript Multilingual OCR", | ||
@@ -73,3 +73,3 @@ "main": "src/index.js", | ||
"resolve-url": "^0.2.1", | ||
"tesseract.js-core": "^4.0.1", | ||
"tesseract.js-core": "^4.0.2", | ||
"wasm-feature-detect": "^1.2.11", | ||
@@ -76,0 +76,0 @@ "zlibjs": "^0.3.1" |
@@ -101,3 +101,3 @@ <p align="center"> | ||
<!-- v4 --> | ||
<script src='https://unpkg.com/tesseract.js@4.0.0/dist/tesseract.min.js'></script> | ||
<script src='https://unpkg.com/tesseract.js@4.0.1/dist/tesseract.min.js'></script> | ||
``` | ||
@@ -104,0 +104,0 @@ After including the script the `Tesseract` variable will be globally available. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
36786630
91
3330
7
Updatedtesseract.js-core@^4.0.2