← Back to team overview

sikuli-driver team mailing list archive

[Bug 1513116] 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.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1513116

Title:
  [request] Region.click("String") and Match.text() should reveal the
  same result

Status in Sikuli:
  In Progress

Bug description:
  I have Used an image and  extracted text from this image using .text() command, surprisingly it worked very well and recognized all the strings. But when I tried to click same string by Region.click ("String") it failed. How this can happen?
  If sikuli is able ti detect the String by .text() command then it should click the same String by Region.click("String") command.
  I have attached an image which I used to find the string

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1513116/+subscriptions


References