GoogleImage2array.world: GoogleImage2array.world

View source: R/GoogleImage2array.world.R

GoogleImage2array.worldR Documentation

GoogleImage2array.world

Description

This function is to gather images via 10 countries and create the R array/tensor from 2D images obtained.

Usage

GoogleImage2array.world(Query, wh = 64, Col = TRUE, verbose = FALSE)

Arguments

Query

a character vector to search images

wh

a value of pixels in height and width.

Col

a logical. Whether to handle color or gray images. if TRUE, use color mode.

verbose

Verbosity mode (FALSE: silent, TRUE: progress).

Value

array

Author(s)

Satoshi Kume

Examples

## Not run: 
library(EBImage)

# Simple examples
query <- "persian cat"
CatImg <- GoogleImage2array.world(query)

#show info
str(CatImg)


## End(Not run)


kumeS/GoogleImage2Array documentation built on Aug. 27, 2023, 4:44 a.m.