Skip to content

Commit

Permalink
[add] 画像追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Simo-C3 committed Sep 20, 2022
1 parent add0911 commit 1301796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added assets/test/IMG_7027.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion resize_test_photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1301796

Please sign in to comment.