DEV Community

Cover image for OCR in JavaScript with Tesseract.js

OCR in JavaScript with Tesseract.js

🦁 Yvonnick FRIN on December 24, 2019

Photo by Mark Rasmuson on Unsplash. While making node-html-to-image I came across a small problem. How to test it actually works? node-html-to-...
Collapse
 
stevenegam profile image
StevenE-GAM • Edited

Hello.
I have been working with Tesseract but i have had some problems in PCΒ΄s navegators it worsk really well but in mobileΒ΄s navegators it gives me the following error: "DevTools failed to load source map: Could not load content forhttps://cdn.jsdelivr.net/npm/tesseract.js@v4.1.0/dist/worker.min.js.map:Fetch through target failed: Target not supported; Fallback: Unknown error.
i am using this CDN: <script src='https://cdn.jsdelivr.net/npm/tesseract.js@4/dist/tesseract.min.js'>
could you help me? :D

Collapse
 
quentinncl profile image
quentinncl

Really good article ! Tesseract is one my favorite OCR tool ! Really good to use in python too ! It gives really good result :)

Collapse
 
yvonnickfrin profile image
🦁 Yvonnick FRIN

Thank you Quentin πŸ™