tidy_hough_mvg | R Documentation |
Create a list summarizing hough lines and their intersections
tidy_hough_mvg(mvg, margin = 0.05)
mvg |
Magick Vector Graphics object, as output by ‘magick::image_hough_txt(format=’mvg')“ |
margin |
Allowed margin around the image for detection of line intersections. Default: 0.05 |
A list containing Hough Lines parameters used, number of lines and intersections detected, detailed data about lines and intersections.
## Not run: if(interactive()){ if(magick_config()$version > "6.8.9"){ shape <- demo_image("shape_rectangle.gif") rectangle <- image_canny(shape) rectangle %>% image_hough_txt(format = 'mvg') %>% tidy_hough_mvg() } } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.