DJI P4Multispectral - Error in the elaboration WebODM

Hi everyone,
I used WebODM for 1 year by now for photogrammetry - and it’s a great and amazing tool.
I recently acquired a Dji Phantom 4 Multispectral and did my first job, but… once I tried to elaborate the results, I always get errors “CANNOT PROCESS DATASET”.
I tried different fields, different parts , but always the same error.
I didn’t touch any “options” to change in the

I attach here the .txt file

I found a similar thread here: DJI P4MS Errors - WebODM - OpenDroneMap Community

But couldn’t find a solution in the end… and the thread closed?.. Could anyone help me out please? Thanks!

I am using WebODM -
Not a IT wizard here…


[INFO] Initializing ODM 2.8.0 - Sat Jun 25 06:39:07 2022
[INFO] ==============
[INFO] auto_boundary: True
[INFO] boundary: {}
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[INFO] cog: True
[INFO] copy_to: None
[INFO] crop: 3
[INFO] debug: False
[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_neighbors: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 24
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 10000
[INFO] name: 94784950-b0fc-40d2-9065-41140b49c3b9
[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: D:\WebODM\resources\app\apps\NodeODM\data
[INFO] radiometric_calibration: camera
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] sfm_algorithm: incremental
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_orthophoto: 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: True
[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: False
[INFO] ==============
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 1
Traceback (most recent call last):
File “D:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 88, in process
run_densify()
File “D:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 83, in run_densify
system.run(’"%s" “%s” %s’ % (context.omvs_densify_path,
File “D:\WebODM\resources\app\apps\ODM\opendm\system.py”, line 106, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “D:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 94, in execute
self.first_stage.run()
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 346, in run
self.next_stage.run(outputs)
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 346, in run
self.next_stage.run(outputs)
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 346, in run
self.next_stage.run(outputs)
[Previous line repeated 1 more time]
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 327, in run
self.process(self.args, outputs)
File “D:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 95, in process
run_densify()
File “D:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 83, in run_densify
system.run(’"%s" “%s” %s’ % (context.omvs_densify_path,
File “D:\WebODM\resources\app\apps\ODM\opendm\system.py”, line 106, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 1

===== Done, human-readable information to follow… =====

[ERROR] Uh oh! Processing stopped because of strange values in the reconstruction. This is often a sign that the input data has some issues or the software cannot deal with it. Have you followed best practices for data acquisition? See Flying Tips — OpenDroneMap 2.8.5 documentation

1 Like

Can you please try on a current release? V2.8.0 is quite old. Currently we are using V2.8.7 and V2.8.6

Hi Saijin, thanks! I’ll download… will update here.

1 Like

Updated it to tried it again… same error :frowning:

[INFO] Initializing ODM 2.8.6 - Sat Jun 25 10:26:08 2022
[INFO] ==============
[INFO] 3d_tiles: False
[INFO] auto_boundary: True
[INFO] boundary: {}
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[INFO] cog: True
[INFO] copy_to: None
[INFO] crop: 3
[INFO] debug: False
[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_neighbors: 0
[INFO] matcher_type: flann
[INFO] max_concurrency: 24
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 10000
[INFO] name: 9dd933df-8909-4e62-bce3-b693e38953f8
[INFO] no_gpu: False
[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_copc: 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: D:\WebODM\resources\app\apps\NodeODM\data
[INFO] radiometric_calibration: camera
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] rolling_shutter: False
[INFO] rolling_shutter_readout: 0
[INFO] sfm_algorithm: incremental
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_orthophoto: 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: True
[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: False
[INFO] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: D:\WebODM\resources\app\apps\NodeODM\data\9dd933df-8909-4e62-bce3-b693e38953f8\images
[INFO] Loading 264 images
[INFO] Found 264 usable images
[INFO] Parsing SRS header: WGS84 UTM 33N
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.

latest lines

2022-06-25 10:36:18,722 DEBUG: Undistorting image DJI_0250.JPG
2022-06-25 10:36:18,728 DEBUG: Undistorting image DJI_0200.JPG
2022-06-25 10:36:18,596 DEBUG: Undistorting image DJI_0020.JPG
2022-06-25 10:36:18,141 DEBUG: Undistorting image DJI_0420.JPG
2022-06-25 10:36:18,717 DEBUG: Undistorting image DJI_0180.JPG
[INFO] running “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm” export_visualsfm --points “D:\WebODM\resources\app\apps\NodeODM\data\9dd933df-8909-4e62-bce3-b693e38953f8\opensfm”
Traceback (most recent call last):
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm_main.py”, line 25, in
commands.command_runner(
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py”, line 38, in command_runner
command.run(data, args)
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py”, line 13, in run
self.run_impl(data, args)
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\export_visualsfm.py”, line 13, in run_impl
export_visualsfm.run_dataset(dataset, args.points, args.image_list)
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\actions\export_visualsfm.py”, line 29, in run_dataset
export(reconstructions[0], tracks_manager, udata, points, export_only)
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\actions\export_visualsfm.py”, line 49, in export
shot_size_cache[shot.id] = udata.undistorted_image_size(shot.id)
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py”, line 766, in undistorted_image_size
return self.io_handler.image_size(self._undistorted_image_file(image))
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\io.py”, line 1501, in image_size
return image_size_from_fileobject(fb)
File “D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\io.py”, line 1340, in image_size_from_fileobject
with Image.open(fb) as img:
File “D:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\PIL\Image.py”, line 3023, in open
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file <_io.BufferedReader name=‘D:\WebODM\resources\app\apps\NodeODM\data\9dd933df-8909-4e62-bce3-b693e38953f8\opensfm\undistorted\images\DJI_0060.JPG.tif’>
[INFO] Multiple bands found
Traceback (most recent call last):
File “D:\WebODM\resources\app\apps\ODM\run.py”, line 59, in
retcode = app.execute()
File “D:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 130, in execute
raise e
File “D:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 94, in execute
self.first_stage.run()
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 347, in run
self.next_stage.run(outputs)
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 347, in run
self.next_stage.run(outputs)
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 347, in run
self.next_stage.run(outputs)
File “D:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 328, in run
self.process(self.args, outputs)
File “D:\WebODM\resources\app\apps\ODM\stages\run_opensfm.py”, line 226, in process
nvm.replace_nvm_images(tree.opensfm_reconstruction_nvm, img_map, nvm_file)
File “D:\WebODM\resources\app\apps\ODM\opendm\nvm.py”, line 12, in replace_nvm_images
with open(src_nvm_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘D:\WebODM\resources\app\apps\NodeODM\data\9dd933df-8909-4e62-bce3-b693e38953f8\opensfm\undistorted/reconstruction.nvm’

1 Like

Do you have an anti-virus on this machine?

Hi Saijin, yes, Avast. I’ll try to deactivate it and re-try. Thanks! I hope that’s the problem.
But If I try with the other settings (all but multispectral) they work.,…Any ideas please?

1 Like

Are you positive that you have the exact same number of images per band for the entire dataset?

So for instance, if you have a 5-band dataset with 20 collections over the field, you must have 100 total image files (5 bands, 20 images each).

Hi Saijin,
removed any antivirus, same results :frowning:
Yup , have the same amount of images for the band of the dataset (I use also Pix4dField and DJI Terra to interpret the images and they always work,…
But of course I would love to use my WebODM instead of those other solutions…

Any ideas how to help me out please? Thank you so much for your support

1 Like

Are you able to share the data somewhere like dronedb.app or another Cloud Service provider?

Hi Saijin, thanks again.
I have a free dronedb.app Page (2GB max) but I don’t know what I should load in it? How does it work?
Not a real IT savvy person here…:confused: Thanks

1 Like

Ideally, you’d share the original images with us from your drone.

So, you’d login to DroneDB, go to https://hub.dronedb.app/, then Create Dataset, and upload the images there.

Once you have it created, you can share the URL of the dataset here so we can access it.

1 Like

Hi Saijin,
uploaded them; here they are;

test multispectral - DroneDB

2 Likes

Feed the WebODM with TIF photos only !
Remove JPG`s (or proccess them separeatly) and those 4 (107_something)

ortho

1 Like

Yep! One type of data per Task. Both subsets process nicely, so good job collecting that data!

I need to see if I can figure out how to warn folks when they combine mismatched data types…

Oh didn’t know that… will process only with TIF then. Great to know… I’ll update.
Thank you for the help!

Ric

1 Like

Hello Riccardo,

Were you able to process a good orthophoto? My issues continue and I am wondering if you found a solution.

Thank you,

Dan Staley

Hi guys… thanks for the support.
So, I deleted all the JPG images and elaborated only the TIFs…
T
Hi Dan = the result … I’m working on them… it seems they work but I still don’t understand how to set the filter to all the 5 different cameras… what’s the acronym of the near-infrared one?

Anyone knows?
I can post some photos to show the result here?

Riccardo, I don’t set any filters, I just load the 5 bands of .tiff files and let the software run.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.