From 274bb47c64de91a23678e8233fffcf0d9e782613 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 25 Dec 2022 00:34:27 +0100 Subject: [PATCH] Fix variable naming --- extract/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract/extract.py b/extract/extract.py index 47e9d36..2d107e6 100644 --- a/extract/extract.py +++ b/extract/extract.py @@ -83,7 +83,7 @@ class Annotation: self.colors.get("stroke") or self.colors.get("fill") or (0.0, 0.0, 0.0) ) nearest = None - minimum_similarity = COLOR_SIMILARITY_THRESHOLD + minimum_similarity = COLOR_SIMILARITY_MINIMUM for name, values in COLORS.items(): similarity_ratio = self._color_similarity_ratio(values, annot_colors) if similarity_ratio > minimum_similarity: