set main_autorun.py some default value

This commit is contained in:
ikinect 2019-08-07 12:26:42 +08:00 committed by GitHub
commit 9a434017e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,7 +185,7 @@ if __name__ == "__main__":
p.add_argument('--output-dir', required=True, action=fixPathAction, dest="output_dir", help="Output directory. This is where the extracted images will be stored.")
# p.add_argument('--output-ext', dest="output_ext", default=None, help="Image format (extension) of output files.")
p.add_argument('--output-ext', dest="output_ext", default='png', help="Image format (extension) of output files.")
# p.add_argument('--fps', type=int, dest="fps", default=None, help="How many frames of every second of the video will be extracted. 0 - full fps.")
# p.add_argument('--fps', type=int, dest="fps", default='png', help="How many frames of every second of the video will be extracted. 0 - full fps.")
p.add_argument('--fps', type=int, dest="fps", default=0, help="How many frames of every second of the video will be extracted. 0 - full fps.")
p.set_defaults(func=process_videoed_extract_video)