Added a threshold for number of images without depth before creating a new folder