title: Recognize coloured text with Tesseract (Tess4J)
body: <p>Im working with text recognition with Java and Tess4J. Im recognizing black and red images (separately), both with white background, very clear. With the black ones, it works perfectly, but with the red ones, tesseract just goes crazy. I tried adding the variable ("editor_image_text_color", "RED"), but it does not help at all.
  Right now, what I do for the red ones is scan the whole image and set every red pixel to black, which I find very inefficient, because I need a few calculations for each pixel, due to the pictures have different intensity of red that I have to conserve.
  Thanks a lot!</p>
  
  <p>For instance:
  <a href="http://imageshack.us/photo/my-images/593/3eu9.png/" rel="nofollow">http://imageshack.us/photo/my-images/593/3eu9.png/</a> does always give me a 9, but
  <a href="http://imageshack.us/photo/my-images/818/efxf.png/" rel="nofollow">http://imageshack.us/photo/my-images/818/efxf.png/</a> does not, is like if it were losing the number in the preprocessing, because the black ones work extremely well, but the red ones arent any better than a random number.</p>