← Back to team overview

sikuli-driver team mailing list archive

[Question #403295]: Getting time of matching operation

 

New question #403295 on Sikuli:
https://answers.launchpad.net/sikuli/+question/403295

Hi!

I need to get the time in milliseconds of matching (if it was successful).
When I print a match result I get something like this:

a = find(myimage)
print a
>>M[1014,305 169x155]@S(S(0)[0,0 1920x1080]) S:1,00 C:1098,382 [453 msec]

I need function to get time:
print a.getTime()
>>453

Is it possible without converting to str and parsing?

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