dataset_find_duplicates
Perceptual hash duplicate detection for image datasets.
Inputs
dataset_pathalgorithm:phash,dhash,whash,avghamming_thresholdacross_splits: whenfalse, train/val/test splits are compared only within the same split
Outputs
- duplicate groups
- total duplicate count and percentage, counting only extra copies beyond each group's representative image
- total image count and analysis duration
Examples
{"dataset_path":"~/data/mini_yolo"}
{"dataset_path":"~/data/retail","algorithm":"dhash","hamming_threshold":3}
{"dataset_path":"~/data/factory","across_splits":false}
Common Errors
- dataset not found
- empty dataset
Related Tools
dataset_inspect, dataset_validate