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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa5aa83a49b8c2f8d29a296064f73787751c3f64a3bcd6fbe6caf90c14f0fd3 |
|
MD5 | 635f36a11947934b5a737e0062c5ddff |
|
BLAKE2b-256 | 72976fe9510a68f3a0e18cc07882fc1940b7412d6592438fb774c5ba5fa121f1 |
Close
Hashes for duplicate_image_finder-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468948aa13db215c79d7a3a1380a1472f677de788de47f424fe6d3882b4d3cb1 |
|
MD5 | e5732bb0347217ea930442e73444e9fd |
|
BLAKE2b-256 | 7efcf933ead5b804975c1688ab719483ff59dc6bf458e67817100378de3b6e82 |