View source: R/icevision_albumentations.R
icevision_ToGray | R Documentation |
Convert the input RGB image to grayscale. If the mean pixel value for the resulting image is greater than 127, invert the resulting grayscale image.
icevision_ToGray(always_apply = FALSE, p = 0.5)
always_apply |
always_apply |
p |
p |
None
image
uint8, float32
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.