python get images from folder code example
Example: python get all images in directory
import glob
for filename in glob.iglob(root_dir + '**/*.jpg', recursive=True):
# Do something
import glob
for filename in glob.iglob(root_dir + '**/*.jpg', recursive=True):
# Do something