params = { "url": MAPILLARY_UPLOAD_URL, "key": s3_bucket, "permission": MAPILLARY_PERMISSION_HASH, "signature": MAPILLARY_SIGNATURE_HASH, "move_files": MOVE_FILES, "keep_file_names": False } # Upload images total_uploads += len(file_list) upload_file_list(file_list, params) # A short summary of the uploads s = Sequence(path) lines = upload_summary(file_list, total_uploads, split_groups, duplicate_groups, missing_groups) print('\n========= Summary of your uploads ==============') print lines print("==================================================") print( "You can now preview your uploads at http://www.mapillary.com/map/upload/im" ) # Finalizing the upload by uploading done files for all sequence if not skip_upload: print( "\nFinalizing upload will submit all successful uploads and ignore all failed and duplicates." ) print( "If all files were marked as successful, everything is fine, just press 'y'."
# set upload parameters params = {"url": MAPILLARY_UPLOAD_URL, "key": s3_bucket, "permission": MAPILLARY_PERMISSION_HASH, "signature": MAPILLARY_SIGNATURE_HASH, "move_files": MOVE_FILES, "keep_file_names": False} # Upload images total_uploads += len(file_list) upload_file_list(file_list, params) # A short summary of the uploads s = Sequence(path) lines = upload_summary(file_list, total_uploads, split_groups, duplicate_groups, missing_groups) print('\n========= Summary of your uploads ==============') print lines print("==================================================") print("You can now preview your uploads at http://www.mapillary.com/map/upload/im") # Finalizing the upload by uploading done files for all sequence if not skip_upload: print("\nFinalizing upload will submit all successful uploads and ignore all failed and duplicates.") print("If all files were marked as successful, everything is fine, just press 'y'.") # ask 3 times if input is unclear for i in range(3): proceed = "y" if not auto_done: