Skip to main content
usage: imagedupes [-h] [-a ALGORITHM] [-d DIRECTORY] [-D DATABASE] [-l]

[-o OPTIONS] [-p PROGRAM] [-r] [-R] [-s HASH_SIZE]

Finds visually similar images and opens them in an image viewer, one group of matches at a time. If no options are specified, it defaults to searching the current working directory non-recursively using a perceptual image hash algorithm with a hash size of 8, opens images in the system default image handler (all members of a group of matches at once), and does not follow symbolic links or use a persistent database.

optional arguments:
-h, --help

show this help message and exit

-a ALGORITHM, --algorithm ALGORITHM

Specify a hash algorithm to use. Acceptable inputs: ‘dhash’ (horizontal difference hash), ‘dhash_vertical’, ‘ahash’ (average hash), ‘phash’ (perceptual hash), ‘phash_simple’, ‘whash_haar’ (Haar wavelet hash), ‘whash_db4’ (Daubechles wavelet hash). Defaults to ‘phash’ if not specified.

-d DIRECTORY, --directory DIRECTORY

Directory to search for images. Defaults to the current working directory if not specified.

-D DATABASE, --database DATABASE

Use a database to cache hash results and speed up hash comparisons. Argument should be the path to which you want to save or read from the database. Warning: runnning the program multiple times with the same database but a different hash algorithm (or different hash size) will lead to missed matches. Defaults to no database if not specified.

-l, --links

Follow symbolic links. Defaults to off if not specified.

-o OPTIONS, --options OPTIONS

Option parameters to pass to the program opened by the –program flag. Defaults to no options if not specified.

-p PROGRAM, --program PROGRAM

Program to open the matched images with. Defaults to your system’s default image handler if not specified.

-r, --recursive

Search through directories recursively. Defaults to off if not specified.

-R, --raws

Process and hash raw image files. Note: Very slow. You might want to leave it running overnight for large image sets. Using the –database option in tandem is highly recommended. Defaults to off if not specified.

-s HASH_SIZE, --hash_size HASH_SIZE

Resolution of the hash; higher is more sensitive to differences. Some hash algorithms require that it be a power of 2 (2, 4, 8, 16…) so using a power of two is recommended. Defaults to 8 if not specified. Values lower than 8 may not work with some hash algorithms.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imagedupes-1.2.9.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imagedupes-1.2.9-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file imagedupes-1.2.9.tar.gz.

File metadata

  • Download URL: imagedupes-1.2.9.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for imagedupes-1.2.9.tar.gz
Algorithm Hash digest
SHA256 e7205097498fd21d6bb6a93031d2be5688cdd4465d4a894470f84eb0050f00f5
MD5 be885d2d6db69e4a03fab8fd63ecfbe7
BLAKE2b-256 63575a741ab6f8ba1cc536a86b64e13b3752f1d8ae9c4a384685d1e7492f8c18

See more details on using hashes here.

File details

Details for the file imagedupes-1.2.9-py3-none-any.whl.

File metadata

File hashes

Hashes for imagedupes-1.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c511710704cf575726c20aa2fcd6845371616b764b63f960e72eb8c1ebbc5b0b
MD5 1bc1383cafac3a3ce419532ce14153ca
BLAKE2b-256 ef6662c7bbab64868d96a5a061cdcfadb0c974780e9e3572d8bffc401ca7c51d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.9 This release

2 files

1.2.8

2 files

1.2.7

2 files

1.2.6

2 files

1.2.5

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page