summaryrefslogtreecommitdiff
path: root/crop_frames.py
diff options
context:
space:
mode:
Diffstat (limited to 'crop_frames.py')
-rw-r--r--crop_frames.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/crop_frames.py b/crop_frames.py
index b507a1f..92a149d 100644
--- a/crop_frames.py
+++ b/crop_frames.py
@@ -7,9 +7,9 @@ from shutil import rmtree
from PIL import Image
parser = argparse.ArgumentParser()
-parser.add_argument('--step', default=256, type=int)
-parser.add_argument('--overlap', default=2, type=int)
-parser.add_argument('--ratio', default=2, type=int)
+parser.add_argument('--step', default=192, type=int, help='Width of frames')
+parser.add_argument('--overlap', default=2, type=int, help='Expand all frames by this margin')
+parser.add_argument('--ratio', default=2, type=int, help='Pre-crop frames to this ratio')
parser.add_argument('--in_dir', help='Directory to process')
parser.add_argument('--out_dir', default='inputs', help='Directory to output to')
args = parser.parse_args()