diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-29 21:02:09 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-29 21:02:09 +0100 |
| commit | 8461232301b3eb3e44ddcb6cb9ea863e356057c9 (patch) | |
| tree | 2ecde6fec7126bdae8373157850bc5a892186d3f | |
| parent | ea85a425c0eb4550d0500a5b0f55c839ae4e0128 (diff) | |
paths
| -rw-r--r-- | crop-equirectangular.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crop-equirectangular.py b/crop-equirectangular.py index 11c4575..ff1ce19 100644 --- a/crop-equirectangular.py +++ b/crop-equirectangular.py @@ -44,7 +44,7 @@ path_0 = os.path.join("sequences", opt.label + "_a") path_1 = os.path.join("sequences", opt.label + "_b") path_2 = os.path.join("sequences", opt.label + "_c") -for i, fn in enumerate(glob(os.path.join(opt.folder, '*.png'))): +for i, fn in enumerate(glob.glob(os.path.join(opt.folder, '*.png'))): fn = "frame_{:04d}.png".format(i) canvas = Image.new('RGB', (src_width, src_height * 3/2,)) |
