New question #700416 on SikuliX:
https://answers.launchpad.net/sikuli/+question/700416

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(SOME_REGION)
f = Finder(capturedImage)
f.findAll(SOME_IMAGE)
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(x,y,w,h).text() would work but that is not going to be 
for the screenshot that is currently being analyzed


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to