duplicate image finder helps you find duplicate or similar images as well as delete them.
Project description
Duplicate Image Finder
Duplicate image finder uses image hashing to find similar/duplicate images in your local storage. All you gotta do is
- install
- install dependencies (using
poetry
) - run it (using
poetry
maybe?)
For example:
# show help
python duplicate_finder.py --help
# add directory images and calculate hashes using 4 threads
python duplicate_finder.py --add <directory> --parallel 4
# show the duplicate/similar images found in your browser
python duplicate_finder.py --show
Poetry
Installing dependencies
poetry install
Running
poetry run python duplicate_image_finder/duplicate_finder.py --show
Testing
poetry run pytest
etc.
This duplicate image finder source code is inspired/partially copied from https://github.com/philipbl/duplicate-images.git.
Significant changes from the referred version are:
- moved from
mongodb
tosqlite
- Is probably better in terms of finding similar images (or perhaps I misunderstood the previous code)
Concepts/Technologies I learned/tried to learn while doing this:
poetry
for dependencypytest
for unit testpysqlite3
for databaseconcurrency
for performanceimagehash
for perpetual image hashing for finding similarity- grouping CLI arguments in python (mutually exclusive, etc) using
argparser
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for duplicate_image_finder-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ef26e0171eb82752a5a0077c09ff0131421c893253abecb54d0008c3ca426c |
|
MD5 | 6cfd21b3e679502db5d17f684bfd134d |
|
BLAKE2b-256 | 60b696cafee4c6d66bbf0deb6b4ab5ab39ba7a3d351e17ab3de7105a78ab96c5 |
Close
Hashes for duplicate_image_finder-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 060a65b4e7db697e15271b6cadf6f874e45160db37ad7eac57063da77a610319 |
|
MD5 | 2396351e2676435fcb1cce92d8c9317f |
|
BLAKE2b-256 | aaba30e8825186866391251508fe2ff5388ddbfb44763311eee609db706989de |