Read text from colored image using tess4j [closed]

2020-01-19 06:24发布

问题:

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 6 years ago.

I am able to read text from monochrome image but I am unable to read text from colored image. I will appreciate any help...

回答1:

You can use Thresholding to preprocess the bitmap/image, before feeding the library with it. Then it will be black and white and the recotgnition should work easily.