Can i somehow change color values of some pixels. For example, on this picture:
http://i.stack.imgur.com/Eq6P0.png
i want to darken the accent marks of words by changing their pixel values to other normal ones 'mặt','bằng','sổ','đỏ' since it renders in accuracy in text extraction using Tesseract library.
Change the pixel color values of some pixels
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change the pixel color values of some pixels
A simple way is with "-level", eg:
Code: Select all
convert Eq6P0.png -level 40%,100% x.png
snibgo's IM pages: im.snibgo.com