Description Usage Arguments Value Examples
View source: R/rough_alignment.R
This function assumes that the shoe is oriented such that the toe-heel axis is vertical. The arch would then be the local minimum of mask width near the center of the image.
1 | get_mask_arch(img)
|
img |
Image |
center (row, col) of the location of the arch in the mask
1 2 3 | library(ShoeScrubR)
shoe_mask("Nike", 10, "L") %>%
get_mask_arch()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.