Search found 5 matches

by milosbre
2019-01-09T16:51:08-07:00
Forum: Users
Topic: OCR image preprocessing with ImageMagic
Replies: 7
Views: 8387

Re: OCR image preprocessing with ImageMagic

Looks like the results at https://stackoverflow.com/questions/54113089/ocr-image-preprocessing-with-imagemagick are better than you show here. If you have any advice on what switches I should use, let me know. For now I solved the issue by using the tesseract 4.0 alpha. It uses deep learning and so...
by milosbre
2019-01-09T16:30:02-07:00
Forum: Users
Topic: OCR image preprocessing with ImageMagic
Replies: 7
Views: 8387

Re: OCR image preprocessing with ImageMagic

Looks like the results at https://stackoverflow.com/questions/54113089/ocr-image-preprocessing-with-imagemagick are better than you show here. To the eye it looks better but its not actually. With that first code the numbers are often bad. Sorry for double posting but I'm just trying to find someon...
by milosbre
2019-01-09T11:33:16-07:00
Forum: Users
Topic: OCR image preprocessing with ImageMagic
Replies: 7
Views: 8387

Re: OCR image preprocessing with ImageMagic

I have done a lot of searching and testing and as far as the numbers are concerned, I got perfect results but I completely loose the . and : convert test.tif -brightness-contrast -40x10 -units pixelsperinch -density 300 -negate -noise 10 -threshold 70% result.tif converts this https://uc3a64e0a40746...
by milosbre
2019-01-09T11:26:43-07:00
Forum: Users
Topic: OCR image preprocessing with ImageMagic
Replies: 7
Views: 8387

Re: OCR image preprocessing with ImageMagic

Yes, test6.tif works. Original image(s) is in that dropbox link (test4.tif). With the code I provided I get some results but for example, often '5' is missplaced for 'S' and ':' is missplaced for "i" '?' etc. I'm very new to image preprocessing so I was thinking I'm doing something wrong since I am ...
by milosbre
2019-01-09T10:26:10-07:00
Forum: Users
Topic: OCR image preprocessing with ImageMagic
Replies: 7
Views: 8387

OCR image preprocessing with ImageMagic

I am trying to find the best way to clean the image with imageMagic before I send it to tesseract. So far the best result was given by this combination convert test.tif -fill black -fuzz 30% +opaque "#FFFFFF" result.tif But the results from tesseract aren't so good. How would you guys do it? Example...