I have this folders :
D:/ Houses/objects/*.jpg
D:/ Towers/objects/*.jpg
D:/ Hotels/objects/*.jpg
.
.
.
.
The first folder have different name but inside those folders exists a folder that have the same name (objects) that contain different images in .jpg that i already know how to get them all.
The problem is the first folders have different names , so how can i go over those folders to get the .jpg in matlab, when they have different names and the name don“t have the same prefix either ?
Thank you very much