From 8e81bf3e78292f621b3099578accf063a02910b3 Mon Sep 17 00:00:00 2001 From: Frank Haverland Date: Sat, 22 Oct 2022 21:13:10 +0200 Subject: [PATCH] reduce cutoff --- collectmeterdigits/collect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collectmeterdigits/collect.py b/collectmeterdigits/collect.py index 9b1b92f..d20572d 100644 --- a/collectmeterdigits/collect.py +++ b/collectmeterdigits/collect.py @@ -117,7 +117,7 @@ def remove_similar_images(image_filenames, meter, hashfunc = imagehash.average_h ''' images = [] count = 0 - cutoff = 5 # maximum bits that could be different between the hashes. + cutoff = 3 # maximum bits that could be different between the hashes. print(f"Find similar images now in {len(image_filenames)} images ..." ) datum = date.today().strftime("%Y-%m-%d")