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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90c147efb14003ad31f51f1cdd3f4bae37367c6bbfaaae6114a70f321862876d |
|
MD5 | 0a18158260c399d5f4c7f08acac82576 |
|
BLAKE2b-256 | ed7322c0c31480a71363d8e1f923aac6d15d314f3895a73e51bcebf90a1d938d |
Close
Hashes for duplicate_image_finder-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d8c031ec338f58ff45f2e3703e35a0b2b2140da1d57ed818d461c648669d6ae |
|
MD5 | a2d65fdcc9134f29b92ab4cd2015bbee |
|
BLAKE2b-256 | e8b9fac10be01ba2654e8f4dacf84abc69fcee6d34e62ff5ae7a00c8a5a15dcc |