From dfceadc627f0a99002a5f6737a15f198ed427e73 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Sun, 1 Nov 2020 10:38:13 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20match=20ratio=20set=20to=20"0.1"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/matchImages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/matchImages.ts b/src/utils/matchImages.ts index aceffa8..3c584a1 100644 --- a/src/utils/matchImages.ts +++ b/src/utils/matchImages.ts @@ -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, }); };