diff options
| author | jules <jules@asdf.us> | 2019-01-18 13:30:13 +0100 |
|---|---|---|
| committer | jules <jules@asdf.us> | 2019-01-18 13:30:13 +0100 |
| commit | 244811a3439dca9c02adce81f7a73a191bc2cddb (patch) | |
| tree | b88d640c46818ecc8b083b1c22245371f861255c /crop_frames.py | |
| parent | 9325a3fa43b65ed6b5c69b95128db9c0a10d17b4 (diff) | |
Diffstat (limited to 'crop_frames.py')
| -rw-r--r-- | crop_frames.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crop_frames.py b/crop_frames.py index 6ce54d8..87a3a13 100644 --- a/crop_frames.py +++ b/crop_frames.py @@ -73,7 +73,7 @@ def crop_image(raw_fn, width, height, step, side, overlap, top_offset): crop_dir = "{}/crop_{}_{}_{}_{}".format(args.out_dir, x, y, w, h) # print("{}x{} {}x{}".format(x, y, w, h)) crop = img.crop((xx, yy + top_offset, xx + w, yy + h + top_offset)) - print("{}/{}".format(crop_dir, fn)) + # print("{}/{}".format(crop_dir, fn)) crop.save("{}/{}".format(crop_dir, fn)) if __name__ == "__main__": |
