0

I'm trying to create a numpy array of (thousands of) images in my folder, but in numerical order. The image file names can be seen here (they all start with "#number_nelx_100...") enter image description here

The methods I've tried either require the number to be right before the ".png" or will order my images like this "10,11,12.....1,2,3..." But, I'd like the images to be saved in numpy array by this order "1,2,3,4,5..."

Any advice would be appreciated. Thanks!

carsof
  • 83
  • 1
  • 8

0 Answers0