Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update README.md (#843)
Fix issue with logging data in the js example
  • Loading branch information
dora-micha committed 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
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.