summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crop-equirectangular.py6
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)