hunt.colors: Extract colours from Google image search results.

Description Usage Arguments Value See Also Examples

Description

Extract colours from Google image search results.

Usage

1
hunt.colors(qword, num = 5, index = 1, seed = 42, plot = TRUE)

Arguments

qword

String. Image search key word.

num

Number of colours to extract.

index

An integer or a vector indicating which image(s) to use. Images can be viewed using show.imgs.

seed

Seed for k-means.

plot

Whether to plot the colours.

Value

A vector of colour names.

See Also

show.imgs.

Examples

1
2
show.imgs("stardew valley")
hunt.colors("stardew valley", 10, 1:10)

monorunner/smcolors documentation built on May 23, 2019, 6:10 a.m.