Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
59 views

Trying to highlight words in image using ocr

When I try to highlight words in chosen image it fails saying there's no words for the text(Tessereact.js) and I tried many things to make it mark words in the image after the ocr but still fails to, ...
tabs's user avatar
  • 11
3 votes
0 answers
884 views

Tesseract.js OCR How do I properly set Page Segmentation Mode (PSM, pageseg) to detect a single number in an image

I've been using tesseract to read various numbers (up to 99,999.9) in the format below: Example of image that OCR failed on: It seems to get a proper read about 80% of the time, but I need 95% ...
justiceorjustus's user avatar
0 votes
1 answer
384 views

how to convert two/there column images to text with ( tesseract.js ocr)?

I am working on a react.js project, I have almost done but my problem is if I want to convert two/three column images to text by Tesseract (OCR) does not convert as I want. because two columns' text ...
Ali hussain's user avatar
0 votes
1 answer
2k views

Tesseract.js does not work on local files

When I run tesseract.js on a URL it works fine. But when I run it on a local file I get these errors. How can I solve this? I am running tesseract.js v2.1.0 and here is my code: const { createWorker } ...
ba_'s user avatar
  • 15
2 votes
0 answers
317 views

how to recognize two images using tesseract.js?

Here is my code, I can recognize only one image using tesseract.js (i.e filepath1), I want to recognize both images (filepath1 and filepath2), how to achieve that? app.post("/",(req,res)=>...
sarathkumar23's user avatar
1 vote
0 answers
3k views

"Uncaught (in promise) TypeError: Cannot read property 'postMessage' of null" when I terminate Tesseract worker in VueJS 2

I have this error whenever I try to terminate the Tesseract worker in VueJS. The problem starts when I re-uploaded another image to the app, I need to Crtl+Shift+R to temporarily solve it. This is my ...
Đoàn Ngọc Thưởng's user avatar
1 vote
0 answers
292 views

Could I use tesseract.js to recognize text in a discord channel in a browser?

I'm trying to process messages/text from a discord channel on a server I'm a part of. The owners don't allow discord bots (for valid reasons, it's a subscription service). I'd still like to be able to ...
user26270's user avatar
  • 7,084
1 vote
0 answers
2k views

How to coding to improve Tesseract.js accuracy and more support correct OCR with label same as Google Cloud Vision and support 2 languages together?

How to coding to improve Tesseract.js accuracy and more support correct OCR with real label same as Google Cloud Vision API and support 2 languages together? (Image link to have more support correct ...
Sumate Mephokkij's user avatar
9 votes
2 answers
8k views

How to improve tesseract.js accuracy?

Im using this piece of code from the website but its not accurate enough const worker1 = createWorker(); const worker2 = createWorker(); await worker1.load(); await worker2.load(); await ...
PayamB.'s user avatar
  • 764
5 votes
1 answer
1k views

How to suppress console output in Tesseract.js?

Tesseract.js seems to print to the console with every call to .recognize(), even with no option parameters attached. It seems possible to quiet the output with the Tesseract CLI by using the "quiet" ...
Neil Hansen's user avatar
1 vote
2 answers
3k views

Tesseract.js hangs in console

Problem: I have a very simple script using tesseract.js locally (which getting to work was a pain of its own), and when i run the function, it logs my text and hangs without ever moving onto anything ...
Kyle Berry's user avatar
1 vote
0 answers
859 views

How to improve Tesseract.js on simple case with a webcam

I'm trying to improve the quality of the character recognition with OCR using Tesseract.js and my webcam (reading the name on my identity card). Though Tesseract 4.0 handles my case much better than ...
tugend's user avatar
  • 153
0 votes
1 answer
870 views

Poor word recognition containing combination of digits and alphabets with OCR using tesseract.js

I am using OCR technique to read words in receipts which generally contains combination of both alphabets and numerical digits like S3AB45, Z54GA. I am trying to do this in frontend only in Javascript ...
flamelite's user avatar
  • 2,854
1 vote
0 answers
830 views

OCR, tesseract.js: How do I match values to labels?

I'm using tesseract.js to get text from a W2 form. I'm having trouble trying to figure out how I could get match up the values of the form to the labels. Like How can I match up the label 'employee ...
jackjoesmith's user avatar
1 vote
1 answer
3k views

Error with Tesseract js

I need help with my script. I'm trying to generate a code that shows the text in an image and I found the library Tessereact.js, but when the use shows me this error (screenshot): Uncaught ...
Rama's user avatar
  • 11

15 30 50 per page