Question #668667 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/668667

arminius posted a new comment:
"But I can't understand you want to capture a new image when an image is
found."

The images I'm searching for are dynamic, the locations on the screen can 
change, the colors can change.
I can't lower the match percent to much or it will click on the wrong thing.
The current system I have that works well is to start with 3 out of 20 images 
to start, starting at high match percentage, and slowly becoming less accurate 
by 1 percentage point as the loop cycles around.
After a few days the original 3 become less accurate, I don't want to replace 
them because in time they will return to being more accurate, so I add another 
3.
The current process is just very time intensive, if I can program it to 
automatically take a new screenshot with the last image to be found's 
"m.getX(), m.getY(), m.getW(), m.getH()" and then send that picture to replace 
an image that has never been seen before.
Then slowly I will have a library of images built up that I didn't have to do 
myself.

Hope that made sense.

It probably didn't.

Imagine the first image in the loop is of an apple, and the second is of a 
banana, and the 3rd is an orange.
You want it to only find images of apples.
So the first image is linked to a text file that has the number 34, because 
it's been seen 34 other times.
The other two have zero in them.
When we see the first image at match percentage of 54, we take a brand new more 
accurate snapshot of the apple, we then see which image is at zero, and replace 
the 3rd image of an orange with the latest image of the apple.
So far I've been doing all that manually, so I'm wanting to code so that it 
does it as part of the program.
Eventually it should all be apples.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to