I am trying to obtain a sparkdataframe which contains the paths and image for all images in my data. The data is store as follow : folder/image_category/image_n.jpg
I