dataeval.outputs.HashStatsOutput

class dataeval.outputs.HashStatsOutput

Output class for hashstats() stats metric.

xxhash

xxHash hash of the images as a hex string

Type:

List[str]

pchash

Perception-based Hash of the images as a hex string

Type:

List[str]

get_channel_mask(channel_index, channel_count=None)

Boolean mask for results filtered to specified channel index and optionally the count of the channels per image.

Parameters:
channel_index : int | Iterable[int] | None

Index or indices of channel(s) to filter for

channel_count : int | Iterable[int] | None

Optional count(s) of channels to filter for

Return type:

list[bool]

property meta : ExecutionMetadata

Metadata about the execution of the function or method for the Output class.

Return type:

ExecutionMetadata