🛠 match ratio set to "0.1"

This commit is contained in:
ful1e5 2020-11-01 10:38:13 +05:30
parent 4fce4c35d1
commit dfceadc627

View file

@ -14,6 +14,6 @@ export const matchImages = ({ img1Buff, img2Buff }: MatchImagesArgs) => {
const diff = new PNG({ width, height });
return pixelmatch(img1.data, img2.data, diff.data, width, height, {
threshold: 0.25,
threshold: 0.1,
});
};