Load image from a file as PIL object
load_img(path, grayscale = FALSE, target_size = NULL)
Path to image file
Boolean, whether to load the image as grayscale.
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