Comment 4 for bug 1513116

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [request] Region.click("String") and Match.text() should reveal the same result

-- ( approach ) to click string from given image
the base is Finder.find(text), which returns a match object if found, that in turn is clicked.
The implementation itself is deep down in C++ code. The only way to get there is either to read the code or use some kind of step through debugging with Eclipse, NeBeans or similar.

-- I would like to develop own classes to improve string click from given image
Besides the remark before I cannot help you currently, because the implementation is hardcoded and not subclassable.

If you really want to invest on that level I would recommend to decide for some image processing package (ImageMagick or OpenCV) and use Tesseract via Tess4J

But before you do, you should think of other solutions for your problem, that do not depend on text.