dmark1021 / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

Sikuli image color sensitivity with java-api 1.0.2 #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.use the same image but use different colors each time

What is the expected output? What do you see instead?
Sikuli should give lower scores to an image that has a different color than the 
one being matched. instead it sometimes get confused and gives the different 
color a high score (0.99)

What version of the product are you using? On what operating system?
1.0.2 with Java 7 on Windows 7 64bit

Please provide any additional information below.
I was wondering how to set the sensitivity of sikuli targets using the java-api 
(1.0.2)
My issue is that i am having the same picture (rather small dimensions) 
changing colors once every second (there are 5 possible colors). I have taken 5 
images and am having the api to try and find the correct image. I am doing it 
according to score (image.getScore()) but sikuli often gives high score even 
when the color is wrong.
Is there any way to increase the color sensitivity for the target?

Original issue reported on code.google.com by angeli...@gmail.com on 15 May 2013 at 9:07

GoogleCodeExporter commented 8 years ago
Have ou tried ColorImageTarget?
https://code.google.com/p/sikuli-api/wiki/ColorImageTarget

Original comment by doubles...@gmail.com on 11 Jun 2013 at 4:19

GoogleCodeExporter commented 8 years ago

Original comment by doubles...@gmail.com on 11 Jun 2013 at 4:19