Browse Source

Fix unable to fetch chi_sim traineddata issue

pull/389/head
jeromewu 6 years ago committed by GitHub
parent
commit
232d8e854d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      demo.js

4
demo.js

@ -25,7 +25,9 @@ var lang_drop_instructions = { @@ -25,7 +25,9 @@ var lang_drop_instructions = {
rus: 'a Russian'
}
var tessWorker = new Tesseract.TesseractWorker();
var tessWorker = new Tesseract.TesseractWorker({
langPath: 'http://tessdata.projectnaptha.com/4.0.0',
});
function setUp(){
input_overlay.width = input.naturalWidth

Loading…
Cancel
Save