Aug-29-2018, 05:10 PM
Hello all,
I want to use images for input to my algorithm. the images are stored in a file with names and I want to extract those names and give it to the other images in a folder in a given order.
I tried oslistdir() but the order in array generated is different than the file's order. how can I solve this?
I want to use images for input to my algorithm. the images are stored in a file with names and I want to extract those names and give it to the other images in a folder in a given order.
I tried oslistdir() but the order in array generated is different than the file's order. how can I solve this?
import os
import numpy as np
list=os.listdir("/home/ujjval/Downloads/rgbd_dataset_freiburg1_xyz/rgb/")
list2=os.listdir("/home/ujjval/Downloads/video-image/data")
print(list);
print(list2);
