get_mask_arch: Get arch location (approx) in a shoe mask

Description Usage Arguments Value Examples

View source: R/rough_alignment.R

Description

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.

Usage

1

Arguments

img

Image

Value

center (row, col) of the location of the arch in the mask

Examples

1
2
3
library(ShoeScrubR)
shoe_mask("Nike", 10, "L") %>%
get_mask_arch()

srvanderplas/ShoeScrubR documentation built on Nov. 27, 2019, 2:09 p.m.