I am trying to display images generated by the Imagedatagenerator.flow() but I am unable to do so.
I am using a single image and passing that to the .flow(img_path) to generate augmented images by until the total matches our requirement:
total = 0
for image in imageGen:
total += 1
if total == 10:
break
the .flow()
imageGen = aug.flow(image_path, batch_size=1,
save_to_dir="/path/to/save_dir",
save_prefix="", save_format='png')
How do I receive the images as they were generating in the loop so that I can display it during the runtime?
