From 48a404128d075a21a90966387fab33ff5debc581 Mon Sep 17 00:00:00 2001 From: Chunk Date: Sun, 19 Apr 2015 17:20:20 +0800 Subject: [PATCH] staged. --- mdata/crop.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/mdata/crop.py b/mdata/crop.py index 0bce65b..b1c38d0 100644 --- a/mdata/crop.py +++ b/mdata/crop.py @@ -13,6 +13,7 @@ def crop_Test(): for path, subdirs, files in os.walk(os.path.join(base_dir, category)): for name in files: image = os.path.join(path, name) + print image im = Image.open(image) w, h = im.size if w < 300 or h < 300: -- libgit2 0.21.2