|
Post by Dmitry on Sept 20, 2019 6:32:25 GMT
What is the right way to use Pattern().mask() function?
I do: take screenshot, crop it and paint unnecessary parts in black. then create pattern like: patt = Pattern("image.png"):similar(0.85):mask();
and this gives me false positives with high matching score.
If i take smaller part of image and make pattern without mask - everything is ok.
|
|
|
Post by AnkuLua on Sept 21, 2019 4:10:19 GMT
Please provide the screenshot, images and the script. You can highlight the result to check the result.
|
|