|
|
|
@ -425,6 +425,9 @@ if __name__ == "__main__": |
|
|
|
if matrix_score == 1.0 and is_score != "scores": |
|
|
|
if matrix_score == 1.0 and is_score != "scores": |
|
|
|
print("✅ Perfect Matrix score, should be identical") |
|
|
|
print("✅ Perfect Matrix score, should be identical") |
|
|
|
exit(1) |
|
|
|
exit(1) |
|
|
|
|
|
|
|
if matrix_score == 0.0 and is_score != "scores": |
|
|
|
|
|
|
|
print("❌ Significant transformation required") |
|
|
|
|
|
|
|
exit(0) |
|
|
|
if is_score == "scores": |
|
|
|
if is_score == "scores": |
|
|
|
score = find_duplicate_with_rotation(large_img1, aligned) |
|
|
|
score = find_duplicate_with_rotation(large_img1, aligned) |
|
|
|
print(f"Score: {score}") |
|
|
|
print(f"Score: {score}") |
|
|
|
|