Browse Source

Release 2.0.0-alpha.7

feature/aio v2.0.0-alpha.7
Jerome Wu 6 years ago
parent
commit
d41d0ce4a7
  1. 2
      README.md
  2. 2
      docs/local-installation.md
  3. 2
      package-lock.json
  4. 2
      package.json

2
README.md

@ -39,7 +39,7 @@ Tesseract.js works with a `<script>` tag via local copy or CDN, with webpack via @@ -39,7 +39,7 @@ Tesseract.js works with a `<script>` tag via local copy or CDN, with webpack via
You can simply include Tesseract.js with a CDN like this:
```html
<script src='https://unpkg.com/tesseract.js@v2.0.0-alpha.6/dist/tesseract.min.js'></script>
<script src='https://unpkg.com/tesseract.js@v2.0.0-alpha.7/dist/tesseract.min.js'></script>
```
After including your scripts, the `Tesseract` variable will be defined globally!

2
docs/local-installation.md

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

2
package-lock.json generated

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "tesseract.js",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "tesseract.js",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"description": "Pure Javascript Multilingual OCR",
"main": "src/index.js",
"scripts": {

Loading…
Cancel
Save