From ce7eb4e1e198ed8c6756860a4c22f9c832ebf0d5 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 27 Apr 2025 22:50:45 -0400 Subject: [PATCH] Get detailed scores... --- README.md | 5 +++++ get_dups.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a238e39..fda3fc9 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,11 @@ cd dedup source myenv/bin/activate python dedup.py 0.jpg 1.jpg ``` +### Get more details on scores: +This command will give more details: Matrix deviation score, Decomposed similarity, Combined similarity, and general score... +``` +python dedup.py 0.jpg 1.jpg scores +``` ## Linux Automated Directoy use: ``` diff --git a/get_dups.sh b/get_dups.sh index 215edb8..6d30a0b 100755 --- a/get_dups.sh +++ b/get_dups.sh @@ -30,7 +30,7 @@ for ((i = 0; i < ${#images[@]}; i++)); do inner_image="${images[$j]}" echo -e "Compairing files: $outer_image TO $inner_image \n" - python3 dedup.py "$1/$outer_image" "$1/$inner_image" + python3 dedup.py "$1/$outer_image" "$1/$inner_image" "$2" exit_code=$? if [ $exit_code -eq 1 ]; then echo "$1/$outer_image # $inner_image" >> dups.txt