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:
# installing
pip install duplicate-image-finder
# 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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d30e67f039c293f070cedc52d055e0cf35542959efe6b0dc47a4dcb7f9eb6c9 |
|
MD5 | 945bdf9de9ae45193a9818216205e3e6 |
|
BLAKE2b-256 | 6656953608c6ded51c54e5afe81d76196bec0f0904b760f2015e8d3287cde414 |
Close
Hashes for duplicate_image_finder-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 612e2ec105a4d9a988aaf1096d91203803b6af44d74701060392f6e27779ff45 |
|
MD5 | a11a0c2f0ed37ce16345d874cff74269 |
|
BLAKE2b-256 | 310a71ef62c93b609942c799bb22f354b74963be5de820711b350a7a20e74762 |