|
Post by prince on Mar 2, 2017 13:26:37 GMT
Hello to all,
could someone tell me the difference between those 2:
if(exists(Pattern("ok.png")
and ok=Region(1,1,10,10) if(ok:exists(Pattern("ok.png")
does this mean that it checks the given pattern only at the given region? how big should w and h be? exactly same size as the croped image? is this faster in searching?
thanks in advance
|
|
|
Post by AnkuLua on Mar 2, 2017 15:49:20 GMT
Yes. It only checks at the given region. The width and height should be larger than croped image. It's faster.
|
|
|
Post by prince on Mar 2, 2017 18:22:01 GMT
thanks
|
|