diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-29 21:01:54 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-29 21:01:54 +0100 |
| commit | ea85a425c0eb4550d0500a5b0f55c839ae4e0128 (patch) | |
| tree | eb716bf25525b7efaaa5ab20dcf97484fd7c36f8 /crop-equirectangular.py | |
| parent | 3ff1a097a98b8eea93fd4e95b43a612467e5a6de (diff) | |
paths
Diffstat (limited to 'crop-equirectangular.py')
| -rw-r--r-- | crop-equirectangular.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crop-equirectangular.py b/crop-equirectangular.py index a96128a..11c4575 100644 --- a/crop-equirectangular.py +++ b/crop-equirectangular.py @@ -40,9 +40,9 @@ p0 = (x0, y0, x0 + crop_width, y0 + crop_height,) p1 = (x1, y0, x1 + crop_width, y0 + crop_height,) p2 = (x2, y0, x2 + crop_width, y0 + crop_height,) -path_0 = os.path.join("sequences", label + "_a") -path_1 = os.path.join("sequences", label + "_b") -path_2 = os.path.join("sequences", label + "_c") +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'))): fn = "frame_{:04d}.png".format(i) |
