Spherical Photos Fail with `KeyError: 'depthmap_resolution'` in ODX 3.8.5

AAI88

I’m processing 13 stitched 360° JPG photos from a DJI Avata 360 in WebODM on a 2021 M1 iMac with 16 GB RAM, using WebODM Manager and Docker. Each photo is 15,520 × 7,780 pixels.

The log identifies ODX 3.8.5. All 13 photos align into one reconstruction with 13,593 points, and GPS and altitude information are detected. Processing then fails during spherical-image undistortion:

opensfm/undistort.py, line 66
subshot_width = int(data.config["depthmap_resolution"])
KeyError: 'depthmap_resolution'
My settings include:

camera-lens: spherical
feature-quality: low
pc-quality: low
max-concurrency: 1
dsm: true
auto-boundary: true
Immediately before the crash, the log warns that it cannot parse focal values from reconstruction.json, then sets undistorted_image_max_size: 15520.

Is there a supported configuration fix or a release addressing this? I have the complete processing log available.

Thanks for any help.

5 Replies

GenAnon

I had also received depthmap errors using insta360 with timed interval shots. Testing for indoors.
I had results when I first attempted but they were not good. I might have set camera to equirectangular instead of spherical. Don’t recall but will check later this evening and update

👍 1
GenAnon

Reset task and ran from load dataset:
Changed task options to default and processed.
Doesn’t seem to have used all photos only a corner of the area shows in result,
Going to attempt again, use default but change camera to spherical

GenAnon

Used default, changed to spherical and auto boundary off.
Failed: several error lines reported—last one line 63 undistort_reconstruction KeyError: ‘depthmap_resolution’

GenAnon

Equirectangular failed again

pierotofy Best answer

Can confirm this is a bug; it should be fixed with https://github.com/WebODM/ODX/pull/59. Thanks for sharing a test dataset and for the report.

👍 1 ❤️ 1

Need more help?

This discussion happened in the WebODM community Discord. Join and ask your own question.

Join View Original Thread

This page mirrors a public discussion from the WebODM Discord. How to request a removal.