Skip to content

Commit

Permalink
Update example/recognize.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromewu committed Mar 9, 2020
1 parent 6f8e692 commit 40aea6d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/node/recognize.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ const worker = createWorker({
await worker.load();
await worker.loadLanguage('eng');
await worker.initialize('eng');
await worker.setParameters({
user_defined_dpi: '300',
});
const { data: { text } } = await worker.recognize(image);
console.log(text);
await worker.terminate();
Expand Down

0 comments on commit 40aea6d

Please sign in to comment.