dataeval.core.xxhash

dataeval.core.xxhash(image)

Performs a fast non-cryptographic hash using the xxhash algorithm (xxhash.com) against the image as a flattened bytearray. The hash is returned as a hex string.

Parameters:
image : NDArray

An image as a numpy array in CxHxW format

Returns:

The hex string hash of the image using the xxHash algorithm

Return type:

str