Hello Sarko,
- Please see last part of the error trace below
- Yes Mavic is pretty awesome to use. But the video that I want to use is the one that took with out knowing all the knowledge when I was a fresh to drone. I did did not turned the caps on and did not realized image was way better than video. I am just trying to do as best as I can to use the images for mapping (estimated GPS is still from the flight log so it should be close enough).
- Mine issue could be from inaccurate GPS.
… output truncated at 500 lines …
[INFO] name: 5f2761ae-8743-448f-8be5-1515ae3716bd
[INFO] opensfm_depthmap_method: PATCH_MATCH
[INFO] opensfm_depthmap_min_consistent_views: 3
[INFO] opensfm_depthmap_min_patch_sd: 1
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False
[INFO] pc_csv: False
[INFO] pc_ept: False
[INFO] pc_filter: 2.5
[INFO] pc_las: False
[INFO] project_path: /var/www/data
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: [‘dataset’, ‘split’, ‘merge’, ‘opensfm’, ‘mve’, ‘odm_filterpoints’, ‘odm_meshing’, ‘mvs_texturing’, ‘odm_georeferencing’, ‘odm_dem’, ‘odm_orthophoto’]
[INFO] resize_to: 2048
[INFO] skip_3dmodel: 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_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_nadir_weight: 16
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_hole_filling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_skip_visibility_test: False
[INFO] texturing_tone_mapping: none
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] use_opensfm_dense: False
[INFO] verbose: False
[INFO] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: /var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/images
[INFO] Loading 14 images
[INFO] Wrote images database: /var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/images.json
[INFO] Found 14 usable images
[ERROR] Failed parsing GPS position for 60.JPG, skipping
[ERROR] Failed parsing GPS position for 10.JPG, skipping
[ERROR] Failed parsing GPS position for 65.JPG, skipping
[ERROR] Failed parsing GPS position for 35.JPG, skipping
[ERROR] Failed parsing GPS position for 30.JPG, skipping
[ERROR] Failed parsing GPS position for 55.JPG, skipping
[ERROR] Failed parsing GPS position for 15.JPG, skipping
[ERROR] Failed parsing GPS position for 05.JPG, skipping
[ERROR] Failed parsing GPS position for 45.JPG, skipping
[ERROR] Failed parsing GPS position for 00.JPG, skipping
[ERROR] Failed parsing GPS position for 25.JPG, skipping
[ERROR] Failed parsing GPS position for 20.JPG, skipping
[ERROR] Failed parsing GPS position for 40.JPG, skipping
[ERROR] Failed parsing GPS position for 50.JPG, skipping
[WARNING] Could not generate coordinates file. An orthophoto will not be generated.
[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] [‘use_exif_size: no’, ‘feature_process_size: 2048’, ‘feature_min_frames: 8000’, ‘processes: 1’, ‘matching_gps_neighbors: 8’, ‘matching_gps_distance: 0’, ‘depthmap_method: PATCH_MATCH’, ‘depthmap_resolution: 640’, ‘depthmap_min_patch_sd: 1’, ‘depthmap_min_consistent_views: 3’, ‘optimize_camera_parameters: yes’, ‘undistorted_image_format: png’, ‘bundle_outlier_filtering_type: AUTO’, ‘align_orientation_prior: vertical’, ‘align_method: orientation_prior’, ‘local_bundle_radius: 0’]
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm”
2019-11-13 02:56:30,544 INFO: Extracting EXIF for 60.JPG
2019-11-13 02:56:30,551 INFO: Extracting EXIF for 10.JPG
2019-11-13 02:56:30,558 INFO: Extracting EXIF for 65.JPG
2019-11-13 02:56:30,562 INFO: Extracting EXIF for 35.JPG
2019-11-13 02:56:30,570 INFO: Extracting EXIF for 30.JPG
2019-11-13 02:56:30,576 INFO: Extracting EXIF for 55.JPG
2019-11-13 02:56:30,583 INFO: Extracting EXIF for 15.JPG
2019-11-13 02:56:30,590 INFO: Extracting EXIF for 05.JPG
2019-11-13 02:56:30,594 INFO: Extracting EXIF for 45.JPG
2019-11-13 02:56:30,598 INFO: Extracting EXIF for 00.JPG
2019-11-13 02:56:30,604 INFO: Extracting EXIF for 25.JPG
2019-11-13 02:56:30,608 INFO: Extracting EXIF for 20.JPG
2019-11-13 02:56:30,614 INFO: Extracting EXIF for 40.JPG
2019-11-13 02:56:30,620 INFO: Extracting EXIF for 50.JPG
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm detect_features “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm create_tracks “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm”
2019-11-13 02:57:53,171 INFO: reading features
2019-11-13 02:57:53,357 DEBUG: Merging features onto tracks
2019-11-13 02:57:53,543 DEBUG: Good tracks: 14984
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm reconstruct “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm”
2019-11-13 02:57:54,999 INFO: Starting incremental reconstruction
2019-11-13 02:57:55,187 INFO: Starting reconstruction with 05.JPG and 10.JPG
2019-11-13 02:57:55,257 INFO: Two-view reconstruction inliers: 1229 / 1231
2019-11-13 02:57:55,410 INFO: Triangulated: 1229
2019-11-13 02:57:55,423 DEBUG: Ceres Solver Report: Iterations: 1, Initial cost: 2.076157e+09, Final cost: 2.076157e+09, Termination: CONVERGENCE
2019-11-13 02:57:55,611 DEBUG: Ceres Solver Report: Iterations: 1, Initial cost: 2.076157e+09, Final cost: 2.076157e+09, Termination: CONVERGENCE
2019-11-13 02:57:56,001 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 4.425977e+10, Final cost: 3.149929e+03, Termination: NO_CONVERGENCE
2019-11-13 02:57:56,012 INFO: Removed outliers: 142
2019-11-13 02:57:56,016 INFO: -------------------------------------------------------
2019-11-13 02:57:56,035 INFO: 65.JPG resection inliers: 757 / 857
2019-11-13 02:57:56,065 DEBUG: Ceres Solver Report: Iterations: 10, Initial cost: 1.723124e+11, Final cost: 6.326752e+03, Termination: CONVERGENCE
2019-11-13 02:57:56,065 INFO: Adding 65.JPG to the reconstruction
2019-11-13 02:57:56,325 INFO: Re-triangulating
2019-11-13 02:57:57,028 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 5.834747e+10, Final cost: 2.091428e+04, Termination: NO_CONVERGENCE
2019-11-13 02:57:57,760 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 2.534773e+03, Final cost: 1.192352e+03, Termination: NO_CONVERGENCE
2019-11-13 02:57:57,771 INFO: Removed outliers: 4
2019-11-13 02:57:57,773 INFO: -------------------------------------------------------
2019-11-13 02:57:57,791 INFO: 60.JPG resection inliers: 186 / 252
2019-11-13 02:57:57,798 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 2.815634e+10, Final cost: 7.934517e+02, Termination: NO_CONVERGENCE
2019-11-13 02:57:57,798 INFO: Adding 60.JPG to the reconstruction
2019-11-13 02:57:57,913 INFO: -------------------------------------------------------
2019-11-13 02:57:57,926 INFO: 00.JPG resection inliers: 135 / 194
2019-11-13 02:57:57,930 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 6.164034e+10, Final cost: 4.491929e+02, Termination: NO_CONVERGENCE
2019-11-13 02:57:57,930 INFO: Adding 00.JPG to the reconstruction
2019-11-13 02:57:58,020 INFO: Re-triangulating
2019-11-13 02:57:58,582 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 7.001894e+10, Final cost: 3.329454e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:00,308 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 9.597266e+03, Final cost: 5.046167e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:00,338 INFO: Removed outliers: 62
2019-11-13 02:58:00,340 INFO: -------------------------------------------------------
2019-11-13 02:58:00,349 INFO: 15.JPG resection inliers: 86 / 116
2019-11-13 02:58:00,352 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 1.344936e+11, Final cost: 1.236718e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:00,352 INFO: Adding 15.JPG to the reconstruction
2019-11-13 02:58:00,405 INFO: -------------------------------------------------------
2019-11-13 02:58:00,408 INFO: 55.JPG resection inliers: 20 / 26
2019-11-13 02:58:00,410 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 1.247933e+03, Final cost: 1.173190e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:00,410 INFO: Adding 55.JPG to the reconstruction
2019-11-13 02:58:00,492 INFO: -------------------------------------------------------
2019-11-13 02:58:00,497 INFO: Some images can not be added
2019-11-13 02:58:00,497 INFO: -------------------------------------------------------
2019-11-13 02:58:01,766 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 7.328764e+10, Final cost: 7.779895e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:01,799 INFO: Removed outliers: 15
2019-11-13 02:58:01,815 INFO: {‘average_track_length’: 2.482325735051206, ‘points_count’: 3027, ‘observations_count’: 7514, ‘cameras_count’: 7, ‘average_track_length_notwo’: 3.449851042701092}
2019-11-13 02:58:01,815 INFO: Starting reconstruction with 40.JPG and 45.JPG
2019-11-13 02:58:01,884 INFO: Two-view reconstruction inliers: 1008 / 1009
2019-11-13 02:58:01,955 INFO: Triangulated: 1008
2019-11-13 02:58:01,964 DEBUG: Ceres Solver Report: Iterations: 1, Initial cost: 2.051267e+09, Final cost: 2.051267e+09, Termination: CONVERGENCE
2019-11-13 02:58:02,094 DEBUG: Ceres Solver Report: Iterations: 1, Initial cost: 2.051267e+09, Final cost: 2.051267e+09, Termination: CONVERGENCE
2019-11-13 02:58:02,391 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 4.714000e+01, Final cost: 1.853895e+01, Termination: NO_CONVERGENCE
2019-11-13 02:58:02,400 INFO: Removed outliers: 114
2019-11-13 02:58:02,401 INFO: -------------------------------------------------------
2019-11-13 02:58:02,410 INFO: 50.JPG resection inliers: 354 / 356
2019-11-13 02:58:02,420 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 1.123848e+02, Final cost: 4.472982e+01, Termination: NO_CONVERGENCE
2019-11-13 02:58:02,420 INFO: Adding 50.JPG to the reconstruction
2019-11-13 02:58:02,511 INFO: Re-triangulating
2019-11-13 02:58:03,259 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.394402e+02, Final cost: 3.694493e+01, Termination: NO_CONVERGENCE
2019-11-13 02:58:04,136 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 4.035196e+01, Final cost: 3.901812e+01, Termination: NO_CONVERGENCE
2019-11-13 02:58:04,158 INFO: Removed outliers: 285
2019-11-13 02:58:04,159 INFO: -------------------------------------------------------
2019-11-13 02:58:04,165 INFO: 35.JPG resection inliers: 73 / 76
2019-11-13 02:58:04,168 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 6.088575e+02, Final cost: 8.659026e+01, Termination: NO_CONVERGENCE
2019-11-13 02:58:04,168 INFO: Adding 35.JPG to the reconstruction
2019-11-13 02:58:04,263 INFO: -------------------------------------------------------
2019-11-13 02:58:04,277 INFO: 30.JPG resection inliers: 188 / 202
2019-11-13 02:58:04,283 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 1.850775e+03, Final cost: 6.958779e+02, Termination: NO_CONVERGENCE
2019-11-13 02:58:04,283 INFO: Adding 30.JPG to the reconstruction
2019-11-13 02:58:04,400 INFO: Re-triangulating
2019-11-13 02:58:05,854 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 2.588965e+03, Final cost: 8.441845e+02, Termination: NO_CONVERGENCE
2019-11-13 02:58:07,492 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 9.425795e+02, Final cost: 8.931935e+02, Termination: NO_CONVERGENCE
2019-11-13 02:58:07,530 INFO: Removed outliers: 394
2019-11-13 02:58:07,530 INFO: -------------------------------------------------------
2019-11-13 02:58:07,540 INFO: 25.JPG resection inliers: 435 / 439
2019-11-13 02:58:07,552 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 2.606884e+03, Final cost: 2.053863e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:07,553 INFO: Adding 25.JPG to the reconstruction
2019-11-13 02:58:07,627 INFO: Re-triangulating
2019-11-13 02:58:09,424 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 2.776965e+03, Final cost: 1.322177e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:11,679 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.389704e+03, Final cost: 1.292340e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:11,727 INFO: Removed outliers: 231
2019-11-13 02:58:11,727 INFO: -------------------------------------------------------
2019-11-13 02:58:11,728 INFO: Some images can not be added
2019-11-13 02:58:11,728 INFO: -------------------------------------------------------
2019-11-13 02:58:13,458 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.591896e+03, Final cost: 1.329550e+03, Termination: NO_CONVERGENCE
2019-11-13 02:58:13,502 INFO: Removed outliers: 31
2019-11-13 02:58:13,529 INFO: {‘average_track_length’: 2.2138016019716575, ‘points_count’: 4869, ‘observations_count’: 10779, ‘cameras_count’: 6, ‘average_track_length_notwo’: 3.092339979013641}
2019-11-13 02:58:13,529 INFO: Reconstruction 0: 7 images, 3027 points
2019-11-13 02:58:13,529 INFO: Reconstruction 1: 6 images, 4869 points
2019-11-13 02:58:13,529 INFO: 2 partial reconstructions in total.
[INFO] Updating /var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm/config.yaml
[INFO] undistorted_image_max_size: 3840
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm undistort “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm”
2019-11-13 02:58:14,846 DEBUG: Undistorting the reconstruction
2019-11-13 02:58:15,072 DEBUG: Undistorting image 05.JPG
2019-11-13 02:58:15,712 DEBUG: Undistorting image 60.JPG
2019-11-13 02:58:16,312 DEBUG: Undistorting image 10.JPG
2019-11-13 02:58:16,929 DEBUG: Undistorting image 00.JPG
2019-11-13 02:58:17,542 DEBUG: Undistorting image 65.JPG
2019-11-13 02:58:18,150 DEBUG: Undistorting image 55.JPG
2019-11-13 02:58:18,811 DEBUG: Undistorting image 15.JPG
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_visualsfm --undistorted --points “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm”
2019-11-13 02:58:20,478 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,478 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-13 02:58:20,479 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,479 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-13 02:58:20,479 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,479 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-13 02:58:20,480 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,480 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-13 02:58:20,480 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,480 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-13 02:58:20,480 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,481 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-13 02:58:20,481 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-13 02:58:20,481 DEBUG: STREAM ‘IDAT’ 41 8192
[WARNING] Will skip exporting /var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm/geocoords_transformation.txt
[INFO] Finished opensfm stage
[INFO] Running mve stage
[INFO] running /code/SuperBuild/src/elibs/mve/apps/makescene/makescene “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/opensfm/reconstruction.nvm” “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve”
MVE Makescene (built on Oct 18 2019, 23:33:18)
Info: Detected VisualSFM bundle format.
NVM: Loading file…
NVM: Number of views: 7
NVM: Number of features: 3027
Creating output directories…
Writing MVE views…
Writing MVE view: view_0000.mve…
Writing MVE view: view_0001.mve…
Writing MVE view: view_0002.mve…
Writing MVE view: view_0003.mve…
Writing MVE view: view_0004.mve…
Writing MVE view: view_0005.mve…
Writing MVE view: view_0006.mve…
Writing bundle file…
Writing bundle (7 cameras, 3027 features): /var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve/synth_0.out…
Done importing NVM file!
[INFO] Running dense reconstruction. This might take a while. Please be patient, the process is not dead or hung.
[INFO] Process is running
[INFO] running /code/SuperBuild/src/elibs/mve/apps/dmrecon/dmrecon -s3 --progress=silent --local-neighbors=2 “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve”
MVE Depth Map Reconstruction (built on Oct 18 2019, 23:33:12)
Initializing scene with 7 views…
Initialized 7 views (max ID is 6), took 0ms.
Reading Photosynther file (7 cameras, 3027 features)…
Reconstructing all views…
Reconstruction took 14785ms.
Saving views back to disc…
Saving views to MVE files…
done.
[INFO] running /code/SuperBuild/src/elibs/mve/apps/scene2pset/scene2pset -F3 “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve” “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve/mve_dense_point_cloud.ply”
MVE Scene to Pointset (built on Oct 18 2019, 23:33:30)
Using depthmap “depth-L3” and color image “undist-L3”
Initializing scene with 7 views…
Initialized 7 views (max ID is 6), took 0ms.
Processing view “0000” (with colors)…
Processing view “0001” (with colors)…
Processing view “0002” (with colors)…
Processing view “0003” (with colors)…
Processing view “0004” (with colors)…
Processing view “0005” (with colors)…
Processing view “0006” (with colors)…
Writing final point set (0 points)…
Writing PLY file (0 verts, with colors, with normals, with confidences, with values, 0 faces)…
done.
[INFO] running /code/SuperBuild/src/elibs/mve/apps/meshclean/meshclean -t0.6 --no-clean --component-size=0 “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve/mve_dense_point_cloud.ply” “/var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve/mve_dense_point_cloud.filtered.ply”
MVE FSSR Mesh Cleaning (built on Oct 18 2019, 23:34:01)
Loading mesh: /var/www/data/5f2761ae-8743-448f-8be5-1515ae3716bd/mve/mve_dense_point_cloud.ply
PLY Loader: comment Export generated by libmve
Reading PLY: 0 verts…
done.
Error: Mesh is empty!
Traceback (most recent call last):
File “/code/run.py”, line 57, in
app.execute()
File “/code/stages/odm_app.py”, line 92, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 351, in run
self.process(self.args, outputs)
File “/code/stages/mve.py”, line 124, in process
system.run(’%s -t%s --no-clean --component-size=0 “%s” “%s”’ % (context.meshclean_path, min(1.0, args.mve_confidence), tree.mve_model, mve_filtered_model), env_vars={‘OMP_NUM_THREADS’: args.max_concurrency})
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1