albumentations.core.analytics.collectors


Data collectors for telemetry.

collect_pipeline_infofunction

Collect information about the pipeline structure.

Parameters

NameTypeDefaultDescription
composeCompose-The Compose instance to analyze

Returns

  • : Dictionary with transform names and target usage information

detect_environmentfunction

Detect the runtime environment. Priority order: ci > colab > kaggle > docker > jupyter > local

Returns

  • : Environment name as string

get_environment_infofunction

Collect basic environment information without external dependencies.

Returns

  • : Dictionary with OS, CPU, GPU (if available), RAM, and environment type

is_ci_environmentfunction

Check if running in a CI/CD environment.

Returns

  • : True if any CI environment variable is detected

is_pytest_runningfunction

Check if pytest is currently running.

Returns

  • : True if pytest is detected in the environment