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