Adds rain effects.

icevision_RandomRain(
  slant_lower = -10,
  slant_upper = 10,
  drop_length = 20,
  drop_width = 1,
  drop_color = list(200, 200, 200),
  blur_value = 7,
  brightness_coefficient = 0.7,
  rain_type = NULL,
  always_apply = FALSE,
  p = 0.5
)

Arguments

slant_lower

should be in range [-20, 20].

slant_upper

should be in range [-20, 20].

drop_length

should be in range [0, 100].

drop_width

should be in range [1, 5]. drop_color (list of (r, g, b)): rain lines color. blur_value (int): rainy view are blurry brightness_coefficient (float): rainy days are usually shady. Should be in range [0, 1].

drop_color

drop_color

blur_value

blur_value

brightness_coefficient

brightness_coefficient

rain_type

One of [NULL, "drizzle", "heavy", "torrestial"]

always_apply

always_apply

p

p

Value

None

Details

From https://github.com/UjjwalSaxena/Automold--Road-Augmentation-Library

Targets

image

Image types

uint8, float32