dataeval.core.StatsResult

class dataeval.core.StatsResult

Type definition for calculation output.

source_index

Sequence of SourceIndex objects with image/box/channel info.

Type:

Sequence[SourceIndex]

object_count

Sequence of object counts per image.

Type:

Sequence[int]

invalid_box_count

Sequence of invalid box counts per image.

Type:

Sequence[int]

image_count

Total number of images processed.

Type:

int

stats

Mapping of statistic names to NumPy arrays of computed values. Keys are the names of statistics requested (e.g., ‘mean’, ‘std’, ‘brightness’). Values are NumPy arrays where each element corresponds to a source_index entry. String values (e.g., hashes) are stored as object dtype arrays.

Type:

Mapping[str, NDArray[Any]]