UNPKG
tesseract.js
Version:
latest (6.0.1)
6.0.1
6.0.0
5.1.1
5.1.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.3
3.0.2
3.0.1
3.0.0
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
2.0.0-beta.2
2.0.0-beta.1
2.0.0-alpha.16
2.0.0-alpha.15
2.0.0-alpha.14
2.0.0-alpha.13
2.0.0-alpha.12
2.0.0-alpha.11
2.0.0-alpha.10
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
1.0.19
1.0.18
1.0.17
1.0.16
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
1.0.0
Pure Javascript Multilingual OCR
github.com/naptha/tesseract.js
naptha/tesseract.js
tesseract.js
/
scripts
/
test-helper.mjs
9 lines
(7 loc)
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
expect
from
'expect.js'
;
import
fs
from
'fs'
; // eslint-disable-
next
-line
import
/extensions
import
Tesseract
from
'../src/index.js'
;
global
.Tesseract = Tesseract;
global
.expect = expect;
global
.fs = fs;