2

I want to read multiple images presented in folder and process them one after another continuously. I am using keras and theano as backend. How can I do that?

Rajesh
  • 221
  • 4
  • 16
  • What is the size of the images? What model are you using? What errors do you encounter? What have you tried so far? Please give us some code. – Wilmar van Ommeren Jun 01 '17 at 07:54
  • My image file are in the folder data/train and i tried below code image_path='data/train' numpy_int_array=np.array(image_path) for i in numpy_int_array: input_im=image_path(i) – Rajesh Jun 02 '17 at 07:11

1 Answers1

1

Check the flow_from_directory from ImageDataGenerator. There is a good example on this page that includes the use of data augmentation.

Fábio Perez
  • 23,850
  • 22
  • 76
  • 100