mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-20 10:15:19 -04:00
🛠 match ratio set to "0.1"
This commit is contained in:
parent
4fce4c35d1
commit
dfceadc627
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@ export const matchImages = ({ img1Buff, img2Buff }: MatchImagesArgs) => {
|
||||||
const diff = new PNG({ width, height });
|
const diff = new PNG({ width, height });
|
||||||
|
|
||||||
return pixelmatch(img1.data, img2.data, diff.data, width, height, {
|
return pixelmatch(img1.data, img2.data, diff.data, width, height, {
|
||||||
threshold: 0.25,
|
threshold: 0.1,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue