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
)
should be in range [-20, 20].
should be in range [-20, 20].
should be in range [0, 100].
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
blur_value
brightness_coefficient
One of [NULL, "drizzle", "heavy", "torrestial"]
always_apply
p
None
From https://github.com/UjjwalSaxena/Automold--Road-Augmentation-Library
image
uint8, float32