Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
use tesseract only
Browse files Browse the repository at this point in the history
  • Loading branch information
diamant3 committed May 29, 2024
1 parent d2052c5 commit 058ab89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ stage.on('mousedown touchstart', function (e) {
});

async function core() {
const worker = await createWorker("eng", 1);
const worker = await createWorker("eng", 0);
const image = await stage.toImage();

const { data: { text } } = await worker.recognize(image);
Expand Down

0 comments on commit 058ab89

Please sign in to comment.