diff --git a/assets/test/IMG_6985.jpg b/assets/test/IMG_6985.jpg new file mode 100644 index 0000000..8311725 Binary files /dev/null and b/assets/test/IMG_6985.jpg differ diff --git a/assets/test/IMG_6985_r.jpg b/assets/test/IMG_6985_r.jpg new file mode 100644 index 0000000..8ca7ec9 Binary files /dev/null and b/assets/test/IMG_6985_r.jpg differ diff --git a/assets/test/IMG_6986.jpg b/assets/test/IMG_6986.jpg new file mode 100644 index 0000000..836ae2a Binary files /dev/null and b/assets/test/IMG_6986.jpg differ diff --git a/assets/test/IMG_6986_r.jpg b/assets/test/IMG_6986_r.jpg new file mode 100644 index 0000000..e0a85e4 Binary files /dev/null and b/assets/test/IMG_6986_r.jpg differ diff --git a/assets/test/IMG_6987.jpg b/assets/test/IMG_6987.jpg new file mode 100644 index 0000000..45ba8b5 Binary files /dev/null and b/assets/test/IMG_6987.jpg differ diff --git a/assets/test/IMG_6987_r.jpg b/assets/test/IMG_6987_r.jpg new file mode 100644 index 0000000..d408c50 Binary files /dev/null and b/assets/test/IMG_6987_r.jpg differ diff --git a/assets/test/IMG_6988.jpg b/assets/test/IMG_6988.jpg new file mode 100644 index 0000000..d78bfe6 Binary files /dev/null and b/assets/test/IMG_6988.jpg differ diff --git a/assets/test/IMG_6988_r.jpg b/assets/test/IMG_6988_r.jpg new file mode 100644 index 0000000..47deaf4 Binary files /dev/null and b/assets/test/IMG_6988_r.jpg differ diff --git a/assets/test/IMG_6990.jpg b/assets/test/IMG_6990.jpg new file mode 100644 index 0000000..b1df3b0 Binary files /dev/null and b/assets/test/IMG_6990.jpg differ diff --git a/assets/test/IMG_6990_r.jpg b/assets/test/IMG_6990_r.jpg new file mode 100644 index 0000000..7c36012 Binary files /dev/null and b/assets/test/IMG_6990_r.jpg differ diff --git a/assets/test/IMG_6991.jpg b/assets/test/IMG_6991.jpg new file mode 100644 index 0000000..52302a7 Binary files /dev/null and b/assets/test/IMG_6991.jpg differ diff --git a/assets/test/IMG_6991_r.jpg b/assets/test/IMG_6991_r.jpg new file mode 100644 index 0000000..21ff049 Binary files /dev/null and b/assets/test/IMG_6991_r.jpg differ diff --git a/assets/test/IMG_6992.jpg b/assets/test/IMG_6992.jpg new file mode 100644 index 0000000..564f0e0 Binary files /dev/null and b/assets/test/IMG_6992.jpg differ diff --git a/assets/test/IMG_6992_r.jpg b/assets/test/IMG_6992_r.jpg new file mode 100644 index 0000000..d679fcc Binary files /dev/null and b/assets/test/IMG_6992_r.jpg differ diff --git a/assets/test/IMG_6993.jpg b/assets/test/IMG_6993.jpg new file mode 100644 index 0000000..c1f741e Binary files /dev/null and b/assets/test/IMG_6993.jpg differ diff --git a/assets/test/IMG_6993_r.jpg b/assets/test/IMG_6993_r.jpg new file mode 100644 index 0000000..e08b5a8 Binary files /dev/null and b/assets/test/IMG_6993_r.jpg differ diff --git a/assets/test/IMG_6994.jpg b/assets/test/IMG_6994.jpg new file mode 100644 index 0000000..8454ab6 Binary files /dev/null and b/assets/test/IMG_6994.jpg differ diff --git a/assets/test/IMG_6994_r.jpg b/assets/test/IMG_6994_r.jpg new file mode 100644 index 0000000..0643503 Binary files /dev/null and b/assets/test/IMG_6994_r.jpg differ diff --git a/assets/test/IMG_6997.jpg b/assets/test/IMG_6997.jpg new file mode 100644 index 0000000..5ae112f Binary files /dev/null and b/assets/test/IMG_6997.jpg differ diff --git a/assets/test/IMG_6997_r.jpg b/assets/test/IMG_6997_r.jpg new file mode 100644 index 0000000..2e0f84b Binary files /dev/null and b/assets/test/IMG_6997_r.jpg differ diff --git a/assets/test/IMG_6998.jpg b/assets/test/IMG_6998.jpg new file mode 100644 index 0000000..4571049 Binary files /dev/null and b/assets/test/IMG_6998.jpg differ diff --git a/assets/test/IMG_6998_r.jpg b/assets/test/IMG_6998_r.jpg new file mode 100644 index 0000000..e8842ec Binary files /dev/null and b/assets/test/IMG_6998_r.jpg differ diff --git a/assets/test/IMG_6999.jpg b/assets/test/IMG_6999.jpg new file mode 100644 index 0000000..c96ba2d Binary files /dev/null and b/assets/test/IMG_6999.jpg differ diff --git a/assets/test/IMG_6999_r.jpg b/assets/test/IMG_6999_r.jpg new file mode 100644 index 0000000..cc126cc Binary files /dev/null and b/assets/test/IMG_6999_r.jpg differ diff --git a/assets/test/IMG_7002.jpg b/assets/test/IMG_7002.jpg new file mode 100644 index 0000000..7a0a2fc Binary files /dev/null and b/assets/test/IMG_7002.jpg differ diff --git a/assets/test/IMG_7002_r.jpg b/assets/test/IMG_7002_r.jpg new file mode 100644 index 0000000..ef7670a Binary files /dev/null and b/assets/test/IMG_7002_r.jpg differ diff --git a/assets/test/IMG_7003.jpg b/assets/test/IMG_7003.jpg new file mode 100644 index 0000000..3a8027c Binary files /dev/null and b/assets/test/IMG_7003.jpg differ diff --git a/assets/test/IMG_7003_r.jpg b/assets/test/IMG_7003_r.jpg new file mode 100644 index 0000000..c1f5fad Binary files /dev/null and b/assets/test/IMG_7003_r.jpg differ diff --git a/assets/test/IMG_7004.jpg b/assets/test/IMG_7004.jpg new file mode 100644 index 0000000..87c27f7 Binary files /dev/null and b/assets/test/IMG_7004.jpg differ diff --git a/assets/test/IMG_7004_r.jpg b/assets/test/IMG_7004_r.jpg new file mode 100644 index 0000000..6bcf5f3 Binary files /dev/null and b/assets/test/IMG_7004_r.jpg differ diff --git a/assets/test/IMG_7005.jpg b/assets/test/IMG_7005.jpg new file mode 100644 index 0000000..644d32d Binary files /dev/null and b/assets/test/IMG_7005.jpg differ diff --git a/assets/test/IMG_7005_r.jpg b/assets/test/IMG_7005_r.jpg new file mode 100644 index 0000000..b324eea Binary files /dev/null and b/assets/test/IMG_7005_r.jpg differ diff --git a/assets/test/IMG_7006.jpg b/assets/test/IMG_7006.jpg new file mode 100644 index 0000000..2b33960 Binary files /dev/null and b/assets/test/IMG_7006.jpg differ diff --git a/assets/test/IMG_7006_r.jpg b/assets/test/IMG_7006_r.jpg new file mode 100644 index 0000000..173da87 Binary files /dev/null and b/assets/test/IMG_7006_r.jpg differ diff --git a/assets/test/IMG_7007_r_r.jpg b/assets/test/IMG_7007_r_r.jpg new file mode 100644 index 0000000..2023109 Binary files /dev/null and b/assets/test/IMG_7007_r_r.jpg differ diff --git a/assets/test/IMG_7008.jpg b/assets/test/IMG_7008.jpg new file mode 100644 index 0000000..5dadd24 Binary files /dev/null and b/assets/test/IMG_7008.jpg differ diff --git a/assets/test/IMG_7008_r.jpg b/assets/test/IMG_7008_r.jpg new file mode 100644 index 0000000..2f5677e Binary files /dev/null and b/assets/test/IMG_7008_r.jpg differ diff --git a/assets/test/IMG_7009.jpg b/assets/test/IMG_7009.jpg new file mode 100644 index 0000000..45b125a Binary files /dev/null and b/assets/test/IMG_7009.jpg differ diff --git a/assets/test/IMG_7009_r.jpg b/assets/test/IMG_7009_r.jpg new file mode 100644 index 0000000..57007ce Binary files /dev/null and b/assets/test/IMG_7009_r.jpg differ diff --git a/assets/test/IMG_7010.jpg b/assets/test/IMG_7010.jpg new file mode 100644 index 0000000..3e80be9 Binary files /dev/null and b/assets/test/IMG_7010.jpg differ diff --git a/assets/test/IMG_7010_r.jpg b/assets/test/IMG_7010_r.jpg new file mode 100644 index 0000000..2afd7e9 Binary files /dev/null and b/assets/test/IMG_7010_r.jpg differ diff --git a/assets/test/IMG_7011.jpg b/assets/test/IMG_7011.jpg new file mode 100644 index 0000000..7098072 Binary files /dev/null and b/assets/test/IMG_7011.jpg differ diff --git a/assets/test/IMG_7011_r.jpg b/assets/test/IMG_7011_r.jpg new file mode 100644 index 0000000..4bfee27 Binary files /dev/null and b/assets/test/IMG_7011_r.jpg differ diff --git a/assets/test/IMG_7012.jpg b/assets/test/IMG_7012.jpg new file mode 100644 index 0000000..5949f41 Binary files /dev/null and b/assets/test/IMG_7012.jpg differ diff --git a/assets/test/IMG_7012_r.jpg b/assets/test/IMG_7012_r.jpg new file mode 100644 index 0000000..67a6064 Binary files /dev/null and b/assets/test/IMG_7012_r.jpg differ diff --git a/assets/test/IMG_7013_r.jpg b/assets/test/IMG_7013_r.jpg new file mode 100644 index 0000000..31ba7ed Binary files /dev/null and b/assets/test/IMG_7013_r.jpg differ diff --git a/assets/test/IMG_7014.jpg b/assets/test/IMG_7014.jpg new file mode 100644 index 0000000..ffc26bc Binary files /dev/null and b/assets/test/IMG_7014.jpg differ diff --git a/assets/test/IMG_7014_r.jpg b/assets/test/IMG_7014_r.jpg new file mode 100644 index 0000000..b0a6551 Binary files /dev/null and b/assets/test/IMG_7014_r.jpg differ diff --git a/assets/test/IMG_7015.jpg b/assets/test/IMG_7015.jpg new file mode 100644 index 0000000..b4e539a Binary files /dev/null and b/assets/test/IMG_7015.jpg differ diff --git a/assets/test/IMG_7015_r.jpg b/assets/test/IMG_7015_r.jpg new file mode 100644 index 0000000..8c972e3 Binary files /dev/null and b/assets/test/IMG_7015_r.jpg differ diff --git a/assets/test/IMG_7016.jpg b/assets/test/IMG_7016.jpg new file mode 100644 index 0000000..930c260 Binary files /dev/null and b/assets/test/IMG_7016.jpg differ diff --git a/assets/test/IMG_7016_r.jpg b/assets/test/IMG_7016_r.jpg new file mode 100644 index 0000000..f2449ed Binary files /dev/null and b/assets/test/IMG_7016_r.jpg differ diff --git a/assets/test/IMG_7017.jpg b/assets/test/IMG_7017.jpg new file mode 100644 index 0000000..00d743c Binary files /dev/null and b/assets/test/IMG_7017.jpg differ diff --git a/assets/test/IMG_7017_r.jpg b/assets/test/IMG_7017_r.jpg new file mode 100644 index 0000000..19c3c0a Binary files /dev/null and b/assets/test/IMG_7017_r.jpg differ diff --git a/assets/test/IMG_7018.jpg b/assets/test/IMG_7018.jpg new file mode 100644 index 0000000..42e0dfc Binary files /dev/null and b/assets/test/IMG_7018.jpg differ diff --git a/assets/test/IMG_7018_r.jpg b/assets/test/IMG_7018_r.jpg new file mode 100644 index 0000000..ae76e79 Binary files /dev/null and b/assets/test/IMG_7018_r.jpg differ diff --git a/assets/test/IMG_7019.jpg b/assets/test/IMG_7019.jpg new file mode 100644 index 0000000..2a18ffe Binary files /dev/null and b/assets/test/IMG_7019.jpg differ diff --git a/assets/test/IMG_7019_r.jpg b/assets/test/IMG_7019_r.jpg new file mode 100644 index 0000000..d64c412 Binary files /dev/null and b/assets/test/IMG_7019_r.jpg differ diff --git a/assets/test/IMG_7020.jpg b/assets/test/IMG_7020.jpg new file mode 100644 index 0000000..0b0b4a6 Binary files /dev/null and b/assets/test/IMG_7020.jpg differ diff --git a/assets/test/IMG_7020_r.jpg b/assets/test/IMG_7020_r.jpg new file mode 100644 index 0000000..11f2fcd Binary files /dev/null and b/assets/test/IMG_7020_r.jpg differ diff --git a/assets/test/IMG_7021.jpg b/assets/test/IMG_7021.jpg new file mode 100644 index 0000000..2247314 Binary files /dev/null and b/assets/test/IMG_7021.jpg differ diff --git a/assets/test/IMG_7021_r.jpg b/assets/test/IMG_7021_r.jpg new file mode 100644 index 0000000..b44f8a2 Binary files /dev/null and b/assets/test/IMG_7021_r.jpg differ diff --git a/assets/test/IMG_7022.jpg b/assets/test/IMG_7022.jpg new file mode 100644 index 0000000..da8eeea Binary files /dev/null and b/assets/test/IMG_7022.jpg differ diff --git a/assets/test/IMG_7022_r.jpg b/assets/test/IMG_7022_r.jpg new file mode 100644 index 0000000..bd2a9b8 Binary files /dev/null and b/assets/test/IMG_7022_r.jpg differ diff --git a/assets/test/IMG_7023.jpg b/assets/test/IMG_7023.jpg new file mode 100644 index 0000000..8f39145 Binary files /dev/null and b/assets/test/IMG_7023.jpg differ diff --git a/assets/test/IMG_7023_r.jpg b/assets/test/IMG_7023_r.jpg new file mode 100644 index 0000000..a6c6224 Binary files /dev/null and b/assets/test/IMG_7023_r.jpg differ diff --git a/assets/test/IMG_7024.jpg b/assets/test/IMG_7024.jpg new file mode 100644 index 0000000..be6c3fd Binary files /dev/null and b/assets/test/IMG_7024.jpg differ diff --git a/assets/test/IMG_7024_r.jpg b/assets/test/IMG_7024_r.jpg new file mode 100644 index 0000000..ae48964 Binary files /dev/null and b/assets/test/IMG_7024_r.jpg differ diff --git a/assets/test/IMG_7025.jpg b/assets/test/IMG_7025.jpg new file mode 100644 index 0000000..24ee0f2 Binary files /dev/null and b/assets/test/IMG_7025.jpg differ diff --git a/assets/test/IMG_7025_r.jpg b/assets/test/IMG_7025_r.jpg new file mode 100644 index 0000000..5fe2260 Binary files /dev/null and b/assets/test/IMG_7025_r.jpg differ diff --git a/resize_test_photo.py b/resize_test_photo.py index fb3b6d3..8a236ab 100644 --- a/resize_test_photo.py +++ b/resize_test_photo.py @@ -5,16 +5,17 @@ from PIL import Image os.makedirs('./assets/test',exist_ok=True) -file = './assets/test/IMG_7007.jpg' +file = files = glob.glob('./assets/test/IMG_*.jpg') +for i, file in enumerate(files): # 画像の読み込み(RGB) -img = cv2.imread(file) -print(img.shape) -x, y, z = img.shape -print(f"x: {x}, y: {y}, z: {z}") -resize_img = cv2.resize(img, dsize = None, fx = 0.25, fy = 0.25) -print(resize_img.shape) -name = file.split('/')[-1] -name = name.split('.')[0] -print(name) -cv2.imwrite(f"./assets/test/{name}_r.jpg", resize_img) \ No newline at end of file + img = cv2.imread(file) + print(img.shape) + x, y, z = img.shape + print(f"x: {x}, y: {y}, z: {z}") + resize_img = cv2.resize(img, dsize = None, fx = 0.25, fy = 0.25) + print(resize_img.shape) + name = file.split('/')[-1] + name = name.split('.')[0] + print(name) + cv2.imwrite(f"./assets/test/{name}_r.jpg", resize_img) \ No newline at end of file