From ea85a425c0eb4550d0500a5b0f55c839ae4e0128 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 29 Nov 2018 21:01:54 +0100 Subject: paths --- crop-equirectangular.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crop-equirectangular.py') 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) -- cgit v1.2.3-70-g09d2