RaiMan / SikuliX-2014

SikuliX version 1.1.2 (until February 2018)
http://sikulix.com
806 stars 234 forks source link

Compare two similar images and find out the differences #136

Open jiangjinpeng21 opened 9 years ago

jiangjinpeng21 commented 9 years ago

if i want to compare two similar images and find out the differences,is there some method i could use?

RaiMan commented 9 years ago

Sorry, not a feature available in SikuliX.

The only method, that could yield some results: In an image viewer take care that the images are shown one after the other in the same size and in the same region and then use the observe/onChange with a suitable scan rate. Only an idea, not tested in any aspect, but onChange delivers the parts of an image that changes form one observe step to the next. Instead of an image viewer you might as well script/program the image display accordingly.

techtonik commented 9 years ago

There are some Python libs for that: https://pypi.python.org/pypi/imgdiff/1.6.0 https://pypi.python.org/pypi/dfrnt/0.2

RaiMan commented 9 years ago

Will be a feature in version 2

techtonik commented 8 years ago

Nice. Any nighties or a plan for https://github.com/RaiMan/SikuliX2 ?