From 1f5d95643f285377e545ef0ca833b9f2eb3ca930 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 26 Apr 2025 16:40:29 -0400 Subject: [PATCH] speed boost round 1.1 --- dedup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dedup.py b/dedup.py index dc8d4be..d499e9d 100644 --- a/dedup.py +++ b/dedup.py @@ -425,6 +425,9 @@ if __name__ == "__main__": if matrix_score == 1.0 and is_score != "scores": print("✅ Perfect Matrix score, should be identical") exit(1) + if matrix_score == 0.0 and is_score != "scores": + print("❌ Significant transformation required") + exit(0) if is_score == "scores": score = find_duplicate_with_rotation(large_img1, aligned) print(f"Score: {score}")