diff --git a/assets/test/IMG_7027.jpg b/assets/test/IMG_7027.jpg new file mode 100644 index 0000000..d3b9773 Binary files /dev/null and b/assets/test/IMG_7027.jpg differ diff --git a/resize_test_photo.py b/resize_test_photo.py index 8a236ab..38b8196 100644 --- a/resize_test_photo.py +++ b/resize_test_photo.py @@ -5,9 +5,11 @@ from PIL import Image os.makedirs('./assets/test',exist_ok=True) -file = files = glob.glob('./assets/test/IMG_*.jpg') +files = glob.glob('./assets/test/IMG_\d*.jpg') +print(files) for i, file in enumerate(files): + print(file) # 画像の読み込み(RGB) img = cv2.imread(file) print(img.shape)