Photo De-Duplication
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Robert a4569e1264 uv run dedup.py 0.jpg 1.jpg 7 months ago
webapp rm db.sqlite3 7 months ago
.gitignore Use uv rust tool is better than pip! 7 months ago
.python-version Use uv rust tool is better than pip! 7 months ago
0.jpg dups 8 months ago
1.jpg dups 8 months ago
2.jpg init 2 8 months ago
3.jpg init 2 8 months ago
4.jpg init 2 8 months ago
5.jpg init 2 8 months ago
BadImageFormat.jpg Check for tooSmall <1KB and tooLarge >10MB files. 8 months ago
LICENSE init 2 8 months ago
PIP_README.md Use uv rust tool is better than pip! 7 months ago
README.md Use uv rust tool is better than pip! 7 months ago
Screenshot2025-04-26.png uv run dedup.py 0.jpg 1.jpg 7 months ago
Screenshot2025-04-26Non-DupFound.png updated photos 8 months ago
TooSmall.jpg Check for tooSmall <1KB and tooLarge >10MB files. 8 months ago
a.jpg speed boost round 1 8 months ago
b.jpg speed boost round 1 8 months ago
coordinates.py GPS Within 10 Feet checking... 7 months ago
dedup.py django web server 7 months ago
delibs.py django web server 7 months ago
do_dups.inc Args -scores and -forreal 7 months ago
get_dups.bat . 7 months ago
get_dups.sh Use uv rust tool is better than pip! 7 months ago
japan-river.jpg geo-data 8 months ago
london-bridge.jpg geo-data 8 months ago
pyproject.toml Use uv rust tool is better than pip! 7 months ago
uv.lock Use uv rust tool is better than pip! 7 months ago

README.md

dedup

Photo De-Duplication

Install uv a Rust App to run Python instead of pip

https://docs.astral.sh/uv/getting-started/installation/

Useage:

cd dedup
uv run 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...

uv run dedup.py 0.jpg 1.jpg -scores

Linux Automated Directoy use:

-forreal will move duplicate images into dups directory.

./get_dups.sh .
  OR: 
./get_dups.sh $HOME/Pictures

Files made by get_dups Scripts:

error level: 0 = NOT a Dup, 1 = Duplicate, 2 = Close Match, 5 = Same GPS GEO-location, 8 = Invalid Image, 9 = File Too small/big. Possible files: dups.txt, alike.txt, sameGPS.txt, invalid.txt, size.txt.

Run website:

uv add django
cd webapp
uv run manage.py runserver

Visit http://127.0.0.1:8000 Login as bob, password: guest Wait a minute...for program to run it will compair a.jpg and b.jpg. See: authapp/views.py

[Image of ScreenShot]