R/remove_noise.R

remove_noise <- function(anImage) {
  anImage %>%
    grayscale %>%
    blur_anisotropic(amplitude = 1) %>%
    #cannyEdges()
    mclosing_square(size = 30)
}
rsimon64/qrdecode documentation built on May 30, 2019, 4:09 p.m.