kopia lustrzana https://github.com/OpenDroneMap/ODM
Set args.split = 999999 if image_groups_file
rodzic
c6d94d6a64
commit
69489ab0d8
|
@ -28,9 +28,11 @@ class ODMSplitStage(types.ODM_Stage):
|
||||||
image_groups_file = os.path.join(args.project_path, "image_groups.txt")
|
image_groups_file = os.path.join(args.project_path, "image_groups.txt")
|
||||||
if 'split_image_groups_is_set' in args:
|
if 'split_image_groups_is_set' in args:
|
||||||
image_groups_file = os.path.abspath(args.split_image_groups)
|
image_groups_file = os.path.abspath(args.split_image_groups)
|
||||||
|
|
||||||
if io.file_exists(image_groups_file):
|
if io.file_exists(image_groups_file):
|
||||||
outputs['large'] = True
|
outputs['large'] = True
|
||||||
|
if args.split < 999999:
|
||||||
|
args.split = 999999
|
||||||
|
log.ODM_WARNING('image_groups.txt and split both set. Using groups in image_groups.txt.')
|
||||||
elif len(photos) > args.split:
|
elif len(photos) > args.split:
|
||||||
# check for availability of geotagged photos
|
# check for availability of geotagged photos
|
||||||
if reconstruction.has_geotagged_photos():
|
if reconstruction.has_geotagged_photos():
|
||||||
|
|
Ładowanie…
Reference in New Issue