michalpolic / hololens_mapper

The mapping pipeline for HoloLens device
15 stars 3 forks source link

Running the pipeline from command line with input options for the nodes #10

Closed rakshith95 closed 2 years ago

rakshith95 commented 2 years ago

Hello @michalpolic , I'm able to run a pipeline from the command line as: ./third_party/meshroom/bin/meshroom_compute mapper.mg --cache <cache_path> And this runs fine, with the saved inputs for the nodes, but I was wondering if there is a way to run it by specifying also the input parameters for each node (or just the first node) in the pipeine.

EDIT: One way to do this would probably be just editing the pipeline mg file, but if you know some other way, that would be great

michalpolic commented 2 years ago

Hello @rakshith95. The interface is written such a way that your "meshroom_compute mapper.mg" is a JSON that specifies the inputs to all the nodes. The easiest way is to modify the configuration in "meshroom_compute mapper.mg".

rakshith95 commented 2 years ago

Okay, thank you. I thought if there was some other way to feed in the inputs it would be more convenient than editing the 'mg' file, but I will stick with this then.