I’m just getting started with OpenDroneMap and am having troubles with the first test dataset I created using DroneDeploy on my Mavic 2 Pro.
If I pick about 8 photos, it will process, but the orthophoto is really just a smear and often incorrectly located on the map. About 50-100m away from where it was captured. I can sometimes get up to 15 photos into a dataset and it completes. I always come across a photo that triggers the dataset to fail. The smallest sample to fail is with the first 9 photos. The first 8 work, but a task that includes the ninth causes it to fail.
The photos are here. They have motion blur as I rushed to take advantage of a break in the rain this evening and did not set the exposure correctly, I let DroneDeploy manage it.
https://drive.google.com/drive/folders/1H4M-wPQ9zriIGzw5dKxkeZ8EWQmLFTJp?usp=sharing
DroneDeploy was able to process the full dataset and it’s blurry, but looks correctish. This was using their Enhanced3d mode on the default settings, 75% front overlap, 70% side overlap, 3m/s flight speed and mapping angle of -65 degrees. This was a crosshatch pattern with a perimeter.
I tried increasing the minimum number of features to 12000, turned on Verbose and Debug to see if there was any indication of why it failed in the output.
[INFO] Initializing ODM - Thu Oct 28 05:34:53 2021
[INFO] ==============
[INFO] auto_boundary: False
[INFO] boundary: {}
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[INFO] cog: True
[INFO] copy_to: None
[INFO] crop: 3
[INFO] debug: True
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 3
[INFO] dem_resolution: 5
[INFO] depthmap_resolution: 640
[INFO] dsm: False
[INFO] dtm: False
[INFO] end_with: odm_postprocess
[INFO] fast_orthophoto: False
[INFO] feature_quality: high
[INFO] feature_type: sift
[INFO] force_gps: False
[INFO] gcp: None
[INFO] geo: None
[INFO] gps_accuracy: 10
[INFO] ignore_gsd: False
[INFO] matcher_distance: 0
[INFO] matcher_neighbors: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 12
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 12000
[INFO] name: f58903c5-ae4f-41f3-89ec-abe3be1877fd
[INFO] optimize_disk_space: False
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_kmz: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_png: False
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False
[INFO] pc_csv: False
[INFO] pc_ept: True
[INFO] pc_filter: 2.5
[INFO] pc_geometric: False
[INFO] pc_las: False
[INFO] pc_quality: medium
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] pc_tile: False
[INFO] primary_band: auto
[INFO] project_path: /var/www/data
[INFO] radiometric_calibration: none
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_report: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_image_groups: None
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_tone_mapping: none
[INFO] tiles: False
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] verbose: True
[INFO] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: /var/www/data/f58903c5-ae4f-41f3-89ec-abe3be1877fd/images
[DEBUG] /var/www/data/f58903c5-ae4f-41f3-89ec-abe3be1877fd/images
[INFO] Loading 9 images
[DEBUG] Loaded DJI_0465.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.22222744444445 | lon: -122.57027011111111 | alt: 97.0 | band: RGB (0)
[DEBUG] Loaded DJI_0460.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.222223944444444 | lon: -122.57088633333333 | alt: 96.0 | band: RGB (0)
[DEBUG] Loaded DJI_0464.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.222227000000004 | lon: -122.57039191666667 | alt: 97.0 | band: RGB (0)
[DEBUG] Loaded DJI_0467.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.2222285 | lon: -122.57001261111111 | alt: 96.0 | band: RGB (0)
[DEBUG] Loaded DJI_0463.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.22222686111111 | lon: -122.57051811111111 | alt: 97.0 | band: RGB (0)
[DEBUG] Loaded DJI_0461.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.222225333333334 | lon: -122.57076880555555 | alt: 96.0 | band: RGB (0)
[DEBUG] Loaded DJI_0468.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.22222941666667 | lon: -122.5698908611111 | alt: 97.0 | band: RGB (0)
[DEBUG] Loaded DJI_0462.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.222225305555554 | lon: -122.57063891666667 | alt: 97.0 | band: RGB (0)
[DEBUG] Loaded DJI_0466.JPG | camera: Hasselblad L1D-20c | dimensions: 2048 x 1365 | lat: 49.22222825 | lon: -122.57013863888889 | alt: 96.0 | band: RGB (0)
[INFO] Wrote images database: /var/www/data/f58903c5-ae4f-41f3-89ec-abe3be1877fd/images.json
[INFO] Found 9 usable images
[INFO] Parsing SRS header: WGS84 UTM 10N
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.
[INFO] Finished split stage
[INFO] Running merge stage
[INFO] Normal dataset, nothing to merge.
[INFO] Finished merge stage
[INFO] Running opensfm stage
[INFO] Writing exif overrides
[INFO] Maximum photo dimensions: 2048px
[INFO] Photo dimensions for feature extraction: 1024px
[INFO] Altitude data detected, enabling it for GPS alignment
[INFO] [‘use_exif_size: no’, ‘flann_algorithm: KDTREE’, ‘feature_process_size: 1024’, ‘feature_min_frames: 12000’, ‘processes: 12’, ‘matching_gps_neighbors: 8’, ‘matching_gps_distance: 0’, ‘optimize_camera_parameters: yes’, ‘undistorted_image_format: tif’, ‘bundle_outlier_filtering_type: AUTO’, ‘sift_peak_threshold: 0.066’, ‘align_orientation_prior: vertical’, ‘triangulation_type: ROBUST’, ‘retriangulation_ratio: 2’, ‘feature_type: SIFT’, ‘use_altitude_tag: yes’, ‘align_method: auto’, ‘local_bundle_radius: 0’]
[INFO] Wrote reference_lla.json
[INFO] running /code/SuperBuild/install/bin/opensfm/bin/opensfm extract_metadata “/var/www/data/f58903c5-ae4f-41f3-89ec-abe3be1877fd/opensfm”
2021-10-28 05:34:54,233 INFO: Extracting EXIF for DJI_0460.JPG
2021-10-28 05:34:54,268 INFO: Extracting EXIF for DJI_0464.JPG
2021-10-28 05:34:54,304 INFO: Extracting EXIF for DJI_0467.JPG
2021-10-28 05:34:54,339 INFO: Extracting EXIF for DJI_0463.JPG
2021-10-28 05:34:54,374 INFO: Extracting EXIF for DJI_0461.JPG
2021-10-28 05:34:54,411 INFO: Extracting EXIF for DJI_0468.JPG
2021-10-28 05:34:54,446 INFO: Extracting EXIF for DJI_0462.JPG
2021-10-28 05:34:54,481 INFO: Extracting EXIF for DJI_0466.JPG
[INFO] running /code/SuperBuild/install/bin/opensfm/bin/opensfm detect_features “/var/www/data/f58903c5-ae4f-41f3-89ec-abe3be1877fd/opensfm”
2021-10-28 05:34:55,533 INFO: Capping memory usage to ~ 10477.470703125 MB
2021-10-28 05:34:55,533 INFO: Expecting to process 200 images.
2021-10-28 05:34:55,540 INFO: Reading data for image DJI_0465.JPG (queue-size=0
2021-10-28 05:34:55,540 INFO: Reading data for image DJI_0467.JPG (queue-size=0
2021-10-28 05:34:55,540 INFO: Reading data for image DJI_0468.JPG (queue-size=0
2021-10-28 05:34:55,614 INFO: Reading data for image DJI_0462.JPG (queue-size=1
2021-10-28 05:34:55,614 INFO: Extracting ROOT_SIFT features for image DJI_0468.JPG
2021-10-28 05:34:55,616 INFO: Reading data for image DJI_0460.JPG (queue-size=1
2021-10-28 05:34:55,617 INFO: Extracting ROOT_SIFT features for image DJI_0465.JPG
2021-10-28 05:34:55,617 INFO: Reading data for image DJI_0463.JPG (queue-size=1
2021-10-28 05:34:55,618 INFO: Extracting ROOT_SIFT features for image DJI_0467.JPG
2021-10-28 05:34:55,636 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,644 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,644 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,701 INFO: Reading data for image DJI_0466.JPG (queue-size=1
2021-10-28 05:34:55,702 INFO: Extracting ROOT_SIFT features for image DJI_0462.JPG
2021-10-28 05:34:55,702 INFO: Extracting ROOT_SIFT features for image DJI_0460.JPG
2021-10-28 05:34:55,702 INFO: Reading data for image DJI_0464.JPG (queue-size=1
2021-10-28 05:34:55,703 INFO: Reading data for image DJI_0461.JPG (queue-size=1
2021-10-28 05:34:55,704 INFO: Extracting ROOT_SIFT features for image DJI_0463.JPG
2021-10-28 05:34:55,749 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,755 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,756 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,813 INFO: Extracting ROOT_SIFT features for image DJI_0466.JPG
2021-10-28 05:34:55,821 INFO: Extracting ROOT_SIFT features for image DJI_0464.JPG
2021-10-28 05:34:55,826 INFO: Finished reading images
2021-10-28 05:34:55,827 INFO: Extracting ROOT_SIFT features for image DJI_0461.JPG
2021-10-28 05:34:55,839 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,850 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:55,870 DEBUG: Computing sift with threshold 0.066
2021-10-28 05:34:56,019 DEBUG: Found 440 points in 0.3821425437927246s
2021-10-28 05:34:56,019 DEBUG: reducing threshold
2021-10-28 05:34:56,020 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,073 DEBUG: Found 277 points in 0.4285554885864258s
2021-10-28 05:34:56,073 DEBUG: reducing threshold
2021-10-28 05:34:56,073 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,083 DEBUG: Found 414 points in 0.4389777183532715s
2021-10-28 05:34:56,083 DEBUG: reducing threshold
2021-10-28 05:34:56,083 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,142 DEBUG: Found 225 points in 0.3830862045288086s
2021-10-28 05:34:56,142 DEBUG: reducing threshold
2021-10-28 05:34:56,142 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,152 DEBUG: Found 250 points in 0.4026951789855957s
2021-10-28 05:34:56,153 DEBUG: reducing threshold
2021-10-28 05:34:56,153 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,167 DEBUG: Found 213 points in 0.4105870723724365s
2021-10-28 05:34:56,167 DEBUG: reducing threshold
2021-10-28 05:34:56,167 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,222 DEBUG: Found 327 points in 0.38350510597229004s
2021-10-28 05:34:56,223 DEBUG: reducing threshold
2021-10-28 05:34:56,223 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,232 DEBUG: Found 257 points in 0.3822946548461914s
2021-10-28 05:34:56,233 DEBUG: reducing threshold
2021-10-28 05:34:56,233 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,254 DEBUG: Found 272 points in 0.38361644744873047s
2021-10-28 05:34:56,254 DEBUG: reducing threshold
2021-10-28 05:34:56,255 DEBUG: Computing sift with threshold 0.044000000000000004
2021-10-28 05:34:56,319 DEBUG: Found 4663 points in 0.29894232749938965s
2021-10-28 05:34:56,319 DEBUG: reducing threshold
2021-10-28 05:34:56,319 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,355 DEBUG: Found 3663 points in 0.28139352798461914s
2021-10-28 05:34:56,355 DEBUG: reducing threshold
2021-10-28 05:34:56,355 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,387 DEBUG: Found 4606 points in 0.3040289878845215s
2021-10-28 05:34:56,388 DEBUG: reducing threshold
2021-10-28 05:34:56,388 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,436 DEBUG: Found 3083 points in 0.29358625411987305s
2021-10-28 05:34:56,436 DEBUG: reducing threshold
2021-10-28 05:34:56,436 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,443 DEBUG: Found 3130 points in 0.2903163433074951s
2021-10-28 05:34:56,445 DEBUG: reducing threshold
2021-10-28 05:34:56,445 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,457 DEBUG: Found 2787 points in 0.2891993522644043s
2021-10-28 05:34:56,457 DEBUG: reducing threshold
2021-10-28 05:34:56,457 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,511 DEBUG: Found 3277 points in 0.27831149101257324s
2021-10-28 05:34:56,511 DEBUG: reducing threshold
2021-10-28 05:34:56,512 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,517 DEBUG: Found 3949 points in 0.29387712478637695s
2021-10-28 05:34:56,517 DEBUG: reducing threshold
2021-10-28 05:34:56,517 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,520 DEBUG: Found 3230 points in 0.2652721405029297s
2021-10-28 05:34:56,520 DEBUG: reducing threshold
2021-10-28 05:34:56,520 DEBUG: Computing sift with threshold 0.029333333333333336
2021-10-28 05:34:56,684 DEBUG: Found 12105 points in 0.36455512046813965s
2021-10-28 05:34:56,684 DEBUG: done
2021-10-28 05:34:56,695 DEBUG: Found 10749 points in 0.3400537967681885s
2021-10-28 05:34:56,695 DEBUG: reducing threshold
2021-10-28 05:34:56,695 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,740 DEBUG: Found 11712 points in 0.35193896293640137s
2021-10-28 05:34:56,740 DEBUG: reducing threshold
2021-10-28 05:34:56,740 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,747 DEBUG: Found 10018 points in 0.31109023094177246s
2021-10-28 05:34:56,747 DEBUG: reducing threshold
2021-10-28 05:34:56,747 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,755 DEBUG: Found 10065 points in 0.3103823661804199s
2021-10-28 05:34:56,755 DEBUG: reducing threshold
2021-10-28 05:34:56,755 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,768 DEBUG: Found 9637 points in 0.31057143211364746s
2021-10-28 05:34:56,768 DEBUG: reducing threshold
2021-10-28 05:34:56,768 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,811 DEBUG: Found 10098 points in 0.2989368438720703s
2021-10-28 05:34:56,811 DEBUG: reducing threshold
2021-10-28 05:34:56,811 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,830 DEBUG: Found 9860 points in 0.3099088668823242s
2021-10-28 05:34:56,831 DEBUG: reducing threshold
2021-10-28 05:34:56,831 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:56,841 DEBUG: Found 10873 points in 0.3240809440612793s
2021-10-28 05:34:56,841 DEBUG: reducing threshold
2021-10-28 05:34:56,842 DEBUG: Computing sift with threshold 0.01955555555555556
2021-10-28 05:34:57,047 DEBUG: Found 14611 points in 0.35157227516174316s
2021-10-28 05:34:57,047 DEBUG: done
2021-10-28 05:34:57,103 DEBUG: Found 14005 points in 0.3559539318084717s
2021-10-28 05:34:57,103 DEBUG: done
2021-10-28 05:34:57,108 DEBUG: Found 15286 points in 0.36780738830566406s
2021-10-28 05:34:57,108 DEBUG: done
2021-10-28 05:34:57,110 DEBUG: Found 13942 points in 0.3544912338256836s
2021-10-28 05:34:57,110 DEBUG: done
2021-10-28 05:34:57,124 DEBUG: Found 14195 points in 0.3556554317474365s
2021-10-28 05:34:57,124 DEBUG: done
2021-10-28 05:34:57,159 DEBUG: Found 13756 points in 0.3281741142272949s
2021-10-28 05:34:57,159 DEBUG: done
2021-10-28 05:34:57,166 DEBUG: Found 14175 points in 0.35485029220581055s
2021-10-28 05:34:57,166 DEBUG: done
2021-10-28 05:34:57,194 DEBUG: Found 14690 points in 0.3527860641479492s
2021-10-28 05:34:57,195 DEBUG: done
2021-10-28 05:34:57,399 DEBUG: No segmentation for DJI_0468.JPG, no features masked.
2021-10-28 05:34:57,867 DEBUG: No segmentation for DJI_0465.JPG, no features masked.
2021-10-28 05:34:57,924 DEBUG: No segmentation for DJI_0460.JPG, no features masked.
2021-10-28 05:34:58,038 DEBUG: No segmentation for DJI_0463.JPG, no features masked.
2021-10-28 05:34:58,039 DEBUG: No segmentation for DJI_0464.JPG, no features masked.
2021-10-28 05:34:58,040 DEBUG: No segmentation for DJI_0466.JPG, no features masked.
2021-10-28 05:34:58,041 DEBUG: No segmentation for DJI_0461.JPG, no features masked.
2021-10-28 05:34:58,042 DEBUG: No segmentation for DJI_0462.JPG, no features masked.
2021-10-28 05:34:58,080 DEBUG: No segmentation for DJI_0467.JPG, no features masked.
Cont’d in next reply.