Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImageMagick: convert image to B&W, high contrast!

I'm trying to OCR certain images, but am having problems with the accuracy. I would like to see if I can improve accuracy by converting images to B&W, high contrast. Any ideas how I can do that with ImageMagick?

like image 640
StackOverflowNewbie Avatar asked Dec 14 '10 22:12

StackOverflowNewbie


1 Answers

Fred's two colour threshold ImageMagick script might help.

like image 110
Tim Barrass Avatar answered Oct 04 '22 04:10

Tim Barrass