alicevision / Meshroom

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

[question] How to define the default parameters for nodes added for new groups during live reconstruction? #2548

Open robot-army opened 5 days ago

robot-army commented 5 days ago

When I'm running "live reconstruction", I would like to define the settings for eg. FeatureExtraction2, but I can't see where to do it. I'd like to untick Force CPU extraction, and use sift rather than dspsift, for example. image image

robot-army commented 5 days ago

So I've had a bit of a browse around the code and it seems that the nodes are built according to this bit:

https://github.com/alicevision/Meshroom/blob/9088f0b10695443dcab3362f94527673d7195dbd/meshroom/multiview.py#L208C1-L209C66

That seems to make a new FeatureExtraction node according to the defaults here: https://github.com/alicevision/Meshroom/blob/9088f0b10695443dcab3362f94527673d7195dbd/meshroom/nodes/aliceVision/FeatureExtraction.py#L65C1-L65C31

I wonder if the right thing to do would be to have the node built by multiview.py take on the settings from the matching node types that already exist in the graph, rather than the defaults. Another way could be to make it easy to change those defaults. I haven't seen anywhere to do that yet but I'll keep digging.

robot-army commented 5 days ago

I've also tried making a new pipeline with the default values here changed, and that doesn't do it.

robot-army commented 5 days ago

Another thing that hasn't worked: Saving a graph with modified values as a template. Any new nodes that are added when new pics are taken seem to pick up the defaults of dspsift and "force CPU extraction". Need to compile from source to edit those defaults?