diff --git a/clustering.go b/clustering.go index 4c02dbb..0f3b281 100644 --- a/clustering.go +++ b/clustering.go @@ -35,7 +35,7 @@ func (fm *FilesMap) getImageClusters() []imageCluster { currentCluster = append(currentCluster, similarImage{path: otherFile.path, distance: distance}) } - if len(currentCluster) > 1 { + if len(currentCluster) <= 1 { continue }