powered by
Converts a PIL Image instance to a Numpy array.
img_to_array(img, data_format = NULL)
A 3D numeric array.
PIL image file; usually loaded with load_img
either "channels_first" or "channels_last".
Taylor B. Arnold, taylor.arnold@acm.org
Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.
Other image: load_img
load_img
Other preprocessing: Tokenizer, expand_dims, load_img, one_hot, pad_sequences, text_to_word_sequence
Tokenizer
expand_dims
one_hot
pad_sequences
text_to_word_sequence