Kevin Kwok
8 years ago
4 changed files with 18 additions and 6 deletions
@ -0,0 +1,4 @@ |
|||||||
|
# Using Tesseract.JS |
||||||
|
|
||||||
|
|
||||||
|
<script src='https://cdn.rawgit.com/naptha/tesseract.js/a01d2a2/dist/tesseract.js'></script> |
@ -1,5 +1,2 @@ |
|||||||
<script src="dist/tesseract.js"></script> |
<script src="dist/tesseract.js"></script> |
||||||
<input type="file" onchange="Tesseract.recognize(this.files[0]).progress(console.log)"> |
<input type="file" onchange="Tesseract.recognize(this.files[0]).progress(console.log)"> |
||||||
|
|
||||||
|
|
||||||
<input type="file" onchange="Tesseract.recognize(this.files[0], {lang: 'chi_sim'}).progress(console.log)"> |
|
Loading…
Reference in new issue