Duplicates Detection

The duplicate detector helps prune out exact and near matches. Exact matches are found using a byte hash of the image information, while near matches use a perception based hash.

Tutorials

There are currently no tutorials for Duplicates.

How To Guides

There are currently no how to’s for Duplicates. If there are scenarios that you want us to explain, contact us!

DAML API

class daml.detectors.Duplicates(images: ndarray)

Finds the duplicate images in a dataset using xxhash for exact duplicates and pchash for near duplicates

evaluate() Dict[Literal['exact', 'near'], List[int]]

Returns duplicate image indices for both exact matches and near matches

Returns:

Dictionary of exact and near match indices

Return type:

Dict[Literal[“exact”, “near”], List[int]]