ComfyUI Node
Eric Duplicate Image Finder v04
A ComfyUI node in Eric/Images with 22 inputs and 4 outputs.
Eric Duplicate Image Finder v04
- duplicate_groups
- total_duplicates
- stats_json
- results_path
◄folder_path►
◄primary_hashphash►
◄exact_duplicate_threshold0.98►
◄similar_image_threshold0.93►
◄variant_threshold0.80►
◄recursivetrue►
◄additional_folders►
◄secondary_hashdhash►
◄min_dimensions0x0►
◄analyze_filenametrue►
◄analyze_metadatatrue►
◄metadata_weight0.30►
◄save_hashestrue►
◄duplicate_actionnone►
◄output_folderduplicates►
◄output_folder_locationcomfyui_output►
◄group_by_similaritytrue►
◄keep_largesttrue►
◄update_metadatatrue►
◄save_resultstrue►
◄results_formatjson►
◄display_top_n20►
CategoryEric/Images
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Main folder to scan for images. | |
| primary_hash | COMBO | phash | Primary hash algorithm to use. |
| exact_duplicate_threshold | FLOAT | 0.980.5–1 | Threshold values will depend on hash, but between .96 and .99 works well. |
| similar_image_threshold | FLOAT | 0.930.3–1 | Threshold values depend on hash and images, experiment in the .85 and .95 range |
| variant_threshold | FLOAT | 0.800.3–1 | Small changes can have big effects depending on image content - experiment between .75 and .85 |
| recursiveopt | BOOLEAN | true | Set True to scan subfolders recursively. |
| additional_foldersopt | STRING | — | |
| secondary_hashopt | COMBO | dhash | A second hash improves accuracy but is slower. |
| min_dimensionsopt | STRING | 0x0 | Minimum dimensions to include ie 100x100. Can speed up runs, but don't change unless you know what you are doing. |
| analyze_filenameopt | BOOLEAN | true | Adds info from file names into the similarity score. |
| analyze_metadataopt | BOOLEAN | true | Adds info from image metadata into the similarity score. |
| metadata_weightopt | FLOAT | 0.300–1 | Can help if your images have good metadata otherwise might give false positives. |
| save_hashesopt | BOOLEAN | true | Save hashes to metadata for future use. |
| duplicate_actionopt | COMBO | none | 3 options: move, copy, none |
| output_folderopt | STRING | duplicates | Folder to save duplicates, similar, and variant images to. Will be created if it doesn't exist. |
| output_folder_locationopt | COMBO | comfyui_output | Where to save duplicates: ComfyUI output folder or inside each original image's folder. |
| group_by_similarityopt | BOOLEAN | true | — |
| keep_largestopt | BOOLEAN | true | — |
| update_metadataopt | BOOLEAN | true | — |
| save_resultsopt | BOOLEAN | true | — |
| results_formatopt | COMBO | json | 3 options: json, csv, both |
| display_top_nopt | INT | 200–100 | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| duplicate_groups | STRING | — |
| total_duplicates | INT | — |
| stats_json | STRING | — |
| results_path | STRING | — |