Browse Source

fix example code for logging progress

pull/15/head
Andre Bluehs 8 years ago committed by GitHub
parent
commit
7a47cdaa98
  1. 2
      README.md

2
README.md

@ -201,7 +201,7 @@ Sets `callback` as the function that will be called if and when the job successf @@ -201,7 +201,7 @@ Sets `callback` as the function that will be called if and when the job successf
For example:
```javascript
Tesseract.recognize(myImage)
.then(function(result){console.log('result is: 'result)})
.then(function(result){console.log('result is: ', result)})
```
The console will show something like:

Loading…
Cancel
Save