image manipulation library [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this questionI need a library for mostly color manipulation, I want to make a image become black and white, and augment the contrast, so that Tesseract (Google OCR library) can read better the images that I throw at it.
Or if someone has a better 开发者_运维知识库idea on how to improve Tesseract results, I am all for it.
Try OpenCV
http://sourceforge.net/projects/opencv/
Or imagemagick
http://www.imagemagick.org/script/magick++.php
or CImg, probably the easiest to use: no install it's just a header file.
If you do not want to use a big library you can code the algorithm yourself:
https://web.archive.org/web/20140825114946/http://bobpowell.net/image_contrast.aspx
精彩评论