Skip to content

Commit 028a44f

Browse files
author
Balearica
committed
Updated version numbers in documentation
1 parent 487f5d1 commit 028a44f

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Tesseract.js works with a `<script>` tag via local copy or CDN, with webpack via
9898
### CDN
9999
```html
100100
<!-- v4 -->
101-
<script src='https://unpkg.com/tesseract.js@4.0.0/dist/tesseract.min.js'></script>
101+
<script src='https://unpkg.com/tesseract.js@4.0.1/dist/tesseract.min.js'></script>
102102
```
103103
After including the script the `Tesseract` variable will be globally available.
104104

docs/local-installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ In Node.js environment, the only path you may want to customize is languages/lan
1010

1111
```javascript
1212
Tesseract.recognize(image, langs, {
13-
workerPath: 'https://unpkg.com/tesseract.js@v4.0.0/dist/worker.min.js',
13+
workerPath: 'https://unpkg.com/tesseract.js@v4.0.1/dist/worker.min.js',
1414
langPath: 'https://tessdata.projectnaptha.com/4.0.0',
15-
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.wasm.js',
15+
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.wasm.js',
1616
})
1717
```
1818

1919
Or
2020

2121
```javascript
2222
const worker = await createWorker({
23-
workerPath: 'https://unpkg.com/tesseract.js@v4.0.0/dist/worker.min.js',
23+
workerPath: 'https://unpkg.com/tesseract.js@v4.0.1/dist/worker.min.js',
2424
langPath: 'https://tessdata.projectnaptha.com/4.0.0',
25-
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.0/tesseract-core.wasm.js',
25+
corePath: 'https://unpkg.com/tesseract.js-core@v4.0.1/tesseract-core.wasm.js',
2626
});
2727
```
2828

@@ -33,6 +33,6 @@ A string specifying the location of the [worker.js](./dist/worker.min.js) file.
3333
A string specifying the location of the tesseract language files, with default value 'https://tessdata.projectnaptha.com/4.0.0'. Language file URLs are calculated according to the formula `langPath + langCode + '.traineddata.gz'`.
3434

3535
### corePath
36-
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'.
36+
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'.
3737

38-
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.
38+
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.

0 commit comments

Comments
 (0)