library(kgschart)
datadir <- 'train/data/caption-ja/'
X <- dget(file.path(datadir, 'X'))
Y <- rep('', length(X))
for (i in seq_along(X))
{
kgschart:::image_plot(X[[i]], plot=TRUE)
ans <- readline("What's this? > ")
Y[i] <- ans
}
dput(Y, file.path(datadir, 'Y'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.