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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ef187d7caec2961a607853de473716faba9aba786c9ad81c6a654634707e573 |
|
MD5 | ad51468657b661d84a44e6b70dc14598 |
|
BLAKE2b-256 | 78ae090b32941db68a65f4cbfcfae4ec3f1eef4970e38cab4f1f3fd83b5da718 |
Close
Hashes for duplicate_image_finder-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe1109ac6053dee1bd8bfb17a1d7f40748ccc710c741d3f18b3eaddfe330465 |
|
MD5 | d9d8cf2a9542f7fe5091b81aebe49152 |
|
BLAKE2b-256 | 1ac01f35bc601f5a2b47a2d75772c0e07f36cb16cdc8124e65b839f53b0f0e07 |