View source: R/preprocessing.R
load_img | R Documentation |
Load image from a file as PIL object
load_img(path, grayscale = FALSE, target_size = NULL)
path |
Path to image file |
grayscale |
Boolean, whether to load the image as grayscale. |
target_size |
If NULL, the default, loads the image in its native resolution. Otherwise, set this to a vector giving desired (img_height, img_width). |
Taylor B. Arnold, taylor.arnold@acm.org
Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.
Other image: img_to_array
Other preprocessing: Tokenizer
,
expand_dims
, img_to_array
,
one_hot
, pad_sequences
,
text_to_word_sequence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.