Using OCR text() on a match from Screen.capture()
Asked by
Nano Stray
I would like to take a screenshot of a moving object to get its (x,y) coordinates and then read the words inside that object
So far, using the Finder Class has helped me to reliably capture the screen and then analyze the image
capturedImage = capture(
f = Finder(
f.findAll(
while f.hasNext():
temp = f.next()
print "the x coordinate of the match is ", temp.x
but now how do I read the words near the matching objects with the text() function from the screenshot that I had originally captured?
I am aware that Region(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.