rabbit_rabbitR
Denoβ€’10mo agoβ€’
2 replies
rabbit_rabbit

Importing Tesseract.js

Hello! I am hoping to use tesseract.js to do OCR in my application. However on deno 2.2.6, when I try

Tesseract.recognize(
      'https://tesseract.projectnaptha.com/img/eng_bw.png',
      'eng',
    )


I get
error: unexpected argument '--debug-port' found

  tip: to pass '--debug-port' as a value, use '-- --debug-port'


Below is a minimal repro of the issue. Any help is appreciated, thank you!

https://github.com/will-weiss/deno-tesseract-repro
GitHub
Contribute to will-weiss/deno-tesseract-repro development by creating an account on GitHub.
GitHub - will-weiss/deno-tesseract-repro
Was this page helpful?