View source: R/GoogleImage2array.world.R
| GoogleImage2array.world | R Documentation |
This function is to gather images via 10 countries and create the R array/tensor from 2D images obtained.
GoogleImage2array.world(Query, wh = 64, Col = TRUE, verbose = FALSE)
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). |
array
Satoshi Kume
## Not run:
library(EBImage)
# Simple examples
query <- "persian cat"
CatImg <- GoogleImage2array.world(query)
#show info
str(CatImg)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.