Interfaces used by augmentable objects.

Added in 0.4.0.

class imgaug.augmentables.base.IAugmentable[source]

Bases: object

Interface of augmentable objects.

This interface is right now only used to “mark” augmentable objects. It does not enforce any methods yet (but will probably in the future).

Currently, only *OnImage clases are marked as augmentable. Non-OnImage objects are normalized to OnImage-objects. Batches are not yet marked as augmentable, but might be in the future.

Added in 0.4.0.