remove_noise <- function(anImage) {
anImage %>%
grayscale %>%
blur_anisotropic(amplitude = 1) %>%
#cannyEdges()
mclosing_square(size = 30)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.