Browse Source

Merge pull request #265 from toombs-caeman/develop

Update parameter passing in demo.html
develop
jeromewu 6 years ago committed by GitHub
parent
commit
9236ff0ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      examples/file-input/demo.html

6
examples/file-input/demo.html

@ -44,9 +44,9 @@ function recognizeFile(file){ @@ -44,9 +44,9 @@ function recognizeFile(file){
const worker = new TesseractWorker();
worker.recognize(file, {
lang: document.querySelector('#langsel').value
})
worker.recognize(file,
document.querySelector('#langsel').value
)
.progress(function(packet){
console.info(packet)
progressUpdate(packet)

Loading…
Cancel
Save