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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 207d5988e32e364ceade0b1c721550553edca2764a372bc36aa52ffeae3f45f2 |
|
MD5 | a27849144713e7e4877b6bbfb1202136 |
|
BLAKE2b-256 | 52c59349ffdfad539b445f43b93c29a73d8c16c1025b2776992cb80ec9044521 |
Close
Hashes for duplicate_image_finder-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 867f98ca6f1ff69e89f45cdcf711074c3253991dad57d1a93f972bae0725d661 |
|
MD5 | 0d5129d46d6ed53c28b065e530b21e92 |
|
BLAKE2b-256 | 8f169cd82a7657ed46d7de4f7591367456431de6e109a645327ea68deea563d2 |