3
« on: August 24, 2022, 12:32:45 AM »
I have an drone flight of 218 images that I can align and build a dense cloud without issues using an interactive Metashape session. When I try to process this same set of images via a python script, buildDepthMaps fails with the following message: "Assertion 239101010894 failed. Image size mismatch: 19009f89-7f2e-42a4-90fa-f9cb8c57855b".
The alignment and depth map generation settings are as identical as I can make them between the interactive and automated processing runs. I've attached the output of the python script starting at the buildDepthMaps step. The full call to the method is:
self.ms_chunk.buildDepthMaps(downscale=16,
filter_mode=dict(Metashape.FilterMode.values)['AggressiveFiltering'],
progress=progress_callback
)
I'm using Metashape 1.8.4 in both cases.
Thanks!