alicevision / Meshroom

3D Reconstruction Software
http://alicevision.org
Other
11.09k stars 1.08k forks source link

[bug] [error] Program need -i or --imageFolder option #2070

Open flobotics opened 1 year ago

flobotics commented 1 year ago

win 11

File->New-Pipeline->Photogrammetry and camera tracking

[00:27:38.173634][error] Program need -i or --imageFolder option

natowi commented 1 year ago

There was an error like this some time ago https://github.com/alicevision/Meshroom/pull/567/files maybe it has something to do with restructuring the code. The 2023.2 release is being prepared

flobotics commented 1 year ago

thx for releasing a new working release (hopefully :) )

cbentejac commented 1 year ago

Hi @flobotics,

Just to be sure, do you have the error on the CameraInit as soon as you open the "Photogrammetry and Camera Tracking" template, or do you open it, try to run it (with input images for both CameraInit) and you end up with that error anyway?

Spontaneously, I would think that you're in the first case, and if that is true, it might be caused by a cached execution of an empty CameraInit from another unsaved pipeline. At some point, a CameraInit was executed without any input images and the project was never saved, so the default cache location was used.

Whenever a template is opened, the default cache location is used until you save your project. Since all the templates start with a CameraInit node that uses all the default settings, all these nodes share the same UID as long as no image is provided. So if any CameraInit was executed at any point in these conditions (and thus failed, as one would expect), it is expected to find the "FAILED" status with that error log on any CameraInit when you open a template.

In that case, the solution is simply to clear the cache by right-clicking on the CameraInit node and selecting "Delete Data".

If you are not in that case, we will need more details to investigate that. 😄