Inconsistent behavior in finding image pattern

Asked by Chengpu Wang

I am using Sikuli 1.0rc3 (r905) on 64-bit Windows 7. The Sikulis should be 64-bit as well.

Here is my java version
C:\Users\cwang359>java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)

I have two images taken from two instances of the same application. Judged visually these two images are almost identical to each other. So the pattern SHOULD be found on both images.

I then click on the pattern, to open the "Pattern Settings" dialog, and use the "Match Preview" to find the pattern.
*) With only the first image shown, Sikuli can find the pattern on the first image.
*) With only the second image shown, Sikuli can NOT find the pattern on the second image.
*) With both the images shown, Sikuli can find the pattern on both the images.
*) With both of the images shown, Sikuli can not find the pattern.

I have attached the two images and the pattern to this bug.

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
Chengpu Wang (chengpu) said :
#1

This bug affect matching small patterns more. The inconsistency may be due to some training during matching.

Please keep me informed if the bug is handled.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

the new version 1.0.1 supports 64-Bit
http://www.sikuli.org/download.html

the Pattern.png you use (orange text Estimate on black background) has a vertical orange bar at the right side.
You should optimize the pattern image, so it only contains the text Estimate.

Can you help with this problem?

Provide an answer of your own, or ask Chengpu Wang for more information if necessary.

To post a message you must log in.