kopia lustrzana https://github.com/OpenDroneMap/ODM
Merge branch 'rexliuser/master' into order
commit
b076b667a4
|
@ -153,6 +153,13 @@ def config(argv=None, parser=None):
|
|||
default=0,
|
||||
type=int,
|
||||
help='Perform image matching with the nearest images based on GPS exif data. Set to 0 to match by triangulation. Default: %(default)s')
|
||||
|
||||
parser.add_argument('--matcher-order',
|
||||
metavar='<positive integer>',
|
||||
action=StoreValue,
|
||||
default=0,
|
||||
type=int,
|
||||
help='Perform image matching with the nearest images based on image filenames order. Set to 0 to disable. Default: %(default)s')
|
||||
|
||||
parser.add_argument('--use-fixed-camera-params',
|
||||
action=StoreTrue,
|
||||
|
|
|
@ -246,6 +246,9 @@ class OSFMContext:
|
|||
"triangulation_type: ROBUST",
|
||||
"retriangulation_ratio: 2",
|
||||
]
|
||||
|
||||
if args.matcher_order > 0:
|
||||
config.append("matching_order_neighbors: %s" % args.matcher_order)
|
||||
|
||||
if args.camera_lens != 'auto':
|
||||
config.append("camera_projection_type: %s" % args.camera_lens.upper())
|
||||
|
|
Ładowanie…
Reference in New Issue