Hello,

I tried running libtesseract (in C++) on an image with white text on a red 
background, and it failed to read it correctly.  However, when I inverted 
the colors to get black text on cyan background, it read the text perfectly.

It seems to be the case that tesseract by default, assumes the text is 
black? 

Are you meant to alter the colors so that the foreground is black, or is 
there a way to tell it to determine the foreground/background colors itself?

(I am running the C++ library)

Thanks,
David

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/37e40e54-1925-486a-92d1-942880e5d230o%40googlegroups.com.

Reply via email to