AugmentationResult#

class augraphy.base.augmentationresult.AugmentationResult(augmentation, result, metadata=None)[source]#

Bases: object

Contains the result of an Augmentation’s application, as well as the Augmentation applied. AugmentationResults are stored in an AugmentationPipeline.

Parameters:
  • augmentation (object) – The augmentation that was applied.

  • result (object) – The image transformed by the augmentation. Usually a numpy array.

  • metadata (object, optional) – Additional data that may be added by callers.

Overview#

AugmentationResult is the base class to store the each augmentation outputs in the pipeline.