Commit 48a404128d075a21a90966387fab33ff5debc581
1 parent
62554a2f
Exists in
master
and in
1 other branch
staged.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
mdata/crop.py
@@ -13,6 +13,7 @@ def crop_Test(): | @@ -13,6 +13,7 @@ def crop_Test(): | ||
13 | for path, subdirs, files in os.walk(os.path.join(base_dir, category)): | 13 | for path, subdirs, files in os.walk(os.path.join(base_dir, category)): |
14 | for name in files: | 14 | for name in files: |
15 | image = os.path.join(path, name) | 15 | image = os.path.join(path, name) |
16 | + print image | ||
16 | im = Image.open(image) | 17 | im = Image.open(image) |
17 | w, h = im.size | 18 | w, h = im.size |
18 | if w < 300 or h < 300: | 19 | if w < 300 or h < 300: |