Browse Source

Update example/recognize.js

pull/427/head
Jerome Wu 5 years ago
parent
commit
40aea6d886
  1. 3
      examples/node/recognize.js

3
examples/node/recognize.js

@ -14,9 +14,6 @@ const worker = createWorker({ @@ -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();

Loading…
Cancel
Save