shoe_mask: Get a specific shoe mask

Description Usage Arguments Examples

View source: R/shoe_mask.R

Description

Get a specific shoe mask

Usage

1
shoe_mask(brand, size, foot, ppi = 300)

Arguments

brand

Adidas or Nike

size

Numerical size: 7, 7.5, 10, 10.5 for Adidas, 8, 8.5, 10, 10.5 for Nike

foot

R or L, determined from the image (e.g. if the image is a film print, this would be the opposite foot from the image name because film prints are reversed)

ppi

pixels per inch (linearly) for the returned mask image

Examples

1
shoe_mask("Nike", 10.5, "R") %>% plot()

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