Skip to content

Commit

Permalink
Update README.md (#843)
Browse files Browse the repository at this point in the history
Fix issue with logging data in the js example
  • Loading branch information
dora-micha authored Oct 19, 2023
1 parent 778aa00 commit 93853eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { createWorker } from 'tesseract.js';
(async () => {
const worker = await createWorker('eng');
const data = await worker.recognize('https://tesseract.projectnaptha.com/img/eng_bw.png');
console.log(data.text);
console.log(data.data.text);
await worker.terminate();
})();
```
Expand Down

0 comments on commit 93853eb

Please sign in to comment.