How to take screen shot of a region and then find similar images in other parts of screen while running?

Asked by Jeff Sant

Dear Friends,

Is it possible to take image of a particular region of screen and compare it with other parts of screen while sikuli application is running, i mean its a realtime image taking and comparing it with the text on the screen.

Please help me out in this regard.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

image = capture(some_region) # the probe

with some_other_region:
    if exists(image): print "Found"
    else: print "not Found"

Can you help with this problem?

Provide an answer of your own, or ask Jeff Sant for more information if necessary.

To post a message you must log in.