alicevision / Meshroom

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

[question] How do I use the pipeline "Photogrammetry and Camera Tracking" #2078

Open oGrqpez opened 1 year ago

oGrqpez commented 1 year ago

Describe the problem I noticed the pipeline "Photogrammetry and Camera Tracking" and wanted to use it since I wanted to make a model and get a camera track simultaneously. Trouble is, it has 2 camerainit nodes. What do I put where? Using the same photo set in both nodes causes me to crash at the ImageMatchingMultiSFM node.

Screenshots

GHqWYUqclb

Desktop (please complete the following and other pertinent information):

natowi commented 1 year ago

I think it is supposed to work with live reconstruction. However, in the 2023.1 release there is this bug https://github.com/alicevision/Meshroom/issues/2070 Good thing: 2023.2 is in preparation, hopefully fixing the issue

cbentejac commented 1 year ago

Hi @oGrqpez,

The first CameraInit node is meant to be set with your input images for the photogrammetry part, and the second with your images for the tracking part.

Please note that this pipeline is experimental so you might not get incredible results.

However, as @natowi mentioned, the 2023.2 release is on its way with an improved (and less experimental) "Photogrammetry and Camera Tracking" template. The CameraInit nodes on this template are labeled with the inputs you're supposed to feed them with, so hopefully it'll be far easier to use!

bhack commented 1 year ago

I don't understand why in https://github.com/alicevision/Meshroom/pull/2033 the calibration checkboard node is mandatory.

cbentejac commented 1 year ago

Hi @bhack, the calibration of the distortion is not mandatory.

It is merely part of the template because if the checkerboard can be provided, then the results will be better. If you have no checkerboard to provide, you can simply remove these nodes from the graph (or the connection between the DistortionCalibration node and the ApplyCalibration node; the ApplyCalibration node works even if it hasn't been provided with calibration information).



As for @oGrqpez's initial question, with Meshroom 2023.2.0, the pipeline now has three CameraInit nodes, labeled as follows:

I hope this clears things up!