MotionBlur

class text_renderer.effect.MotionBlur(p=1.0, blur_limit=(3, 7), angle=(0, 360), direction=(-1.0, 1.0))[source]

Motion blur effect using Albumentations

Parameters:
  • p (float) – Probability of applying this effect

  • blur_limit (tuple) – Range for blur kernel size

  • angle (tuple) – Range for blur angle in degrees

  • direction (tuple) – Range for blur direction (not directly supported in Albumentations)