Hello all, I recently started working with webODM to process the multispectral images I take using the Sentera Double 4K Multispectral camera. The images usually come in 2 separate folders labeled RGB and NIR, with corresponding images having the same name. The RGB files have the standard R,G,B bands and the NIR images bands are structured like this: RedEdge, Garbage, NIR. After reading through some of the other posts, I added an _rgb and _nir to the respective images and placed them all in the same file. I used exiftool to check the EXIF information of the images. The images seem to have all the correct EXIF data, however the âRigCameraIndexâ was just set to a single number. Some other posts stated that RigCameraIndex should have a different number for each band so I changed âRigCameraIndexâ so that there is a number corresponding to each band. In my case, red: 1, blue: 2, green: 3, rededge: 4, garbage: 5, nir: 6.
When I run webODM on my dataset, using the Multispectral preset, I get the following errors:
[INFO] Running dense reconstruction. This might take a while.
[INFO] Estimating depthmaps
[INFO] running /code/SuperBuild/install/bin/OpenMVS/DensifyPointCloud â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/openmvs/scene.mvsâ --resolution-level 2 --min-resolution 500 --max-resolution 1752 --max-threads 24 --number-views-fuse 2 -w â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/openmvs/depthmapsâ -v 0
17:36:19 [App ] Build date: Apr 16 2021, 04:01:15
17:36:19 [App ] CPU: AMD Ryzen 9 3900 12-Core Processor (24 cores)
17:36:19 [App ] RAM: 125.90GB Physical Memory 128.00GB Virtual Memory
17:36:19 [App ] OS: Linux 4.15.0-112-generic (x86_64)
17:36:19 [App ] SSE & AVX compatible CPU & OS detected
17:36:19 [App ] Command line: /var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/openmvs/scene.mvs --resolution-level 2 --min-resolution 500 --max-resolution 1752 --max-threads 24 --number-views-fuse 2 -w /var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/openmvs/depthmaps -v 0
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00039_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00084_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00034_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00055_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00009_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00082_rgb.jpg.tifâ
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00037_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00079_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00071_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00045_rgb.jpg.tifâ
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00045_rgb.jpg.tifâ
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00045_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00056_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00042_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00010_rgb.jpg.tifâ
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00022_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00074_rgb.jpg.tifâ
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00038_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00013_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00073_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00085_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00077_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00040_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00046_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00060_rgb.jpg.tifâ
17:36:19 [App ] error: failed loading image header
17:36:19 [App ] error: failed reloading image â/var/www/data/85ad4fe9-73c3-44e3-8310-34343b0766af/opensfm/undistorted/images/IMG_00028_rgb.jpg.tifâ
17:36:19 [App ] error: preparing images for dense reconstruction failed (errors loading images)
===== Dumping Info for Geeks (developers need this to fix bugs) =====
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 https://docs.opendronemap.org/flying.html
Traceback (most recent call last):
File â/code/stages/odm_app.pyâ, line 83, in execute
self.first_stage.run()
File â/code/opendm/types.pyâ, line 338, in run
self.next_stage.run(outputs)
File â/code/opendm/types.pyâ, line 338, in run
self.next_stage.run(outputs)
File â/code/opendm/types.pyâ, line 338, in run
self.next_stage.run(outputs)
[Previous line repeated 1 more time]
File â/code/opendm/types.pyâ, line 319, in run
self.process(self.args, outputs)
File â/code/stages/openmvs.pyâ, line 77, in process
system.run(â%s â%sâ %sâ % (context.omvs_densify_path,
File â/code/opendm/system.pyâ, line 82, in run
raise SubprocessException(âChild returned {}â.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 1
Here is a link to a folder that contains the images Iâm using (rgb_nir_images), a sample EXIF readout for both the RGB and NIR images (sample_exif) and the entire log (console.txt).
https://drive.google.com/drive/folders/1GN6wF8Rxw211l_AcUHRXnzqjn30piJvE?usp=sharing
Iâm not sure if thereâs an error in the EXIF data of the images or if something else is going on. Many of the other posts stated that if webODM detected multi-camera images, there would be a message along the lines of âMulti-Camera setup detectedâ and âStarting BOW matchingâ. Those messages never appeared in my case, so Iâm suspecting that webODM is not recognizing my multi-camera images. Iâd appreciate any help you all can provide. Thanks in advance!