Merge components from command Line

I’m working with RealityCapture via the command line and I’m looking for a way to replicate a behavior I’ve observed in the GUI.

Sometimes, when I run the Align Images process in the GUI, it creates several separate camera groups (components). If I run the Align Images command a second time on the same dataset, RealityCapture often manages to merge these different groups into a single sparse point cloud.

My question is: Is there a command-line equivalent for this “second pass” of alignment that attempts to merge existing components? I haven’t found a specific command to perform this action.

Any help or guidance would be greatly appreciated!

Hello Victor,

thank you for contacting our support.

As you are aligning the images for a second time, using the CLI command -align again is the same as clicking on the Align button.

There is a command -mergeComponents, which should be the same as the button Merge Components, but this mostly works for the imported components.

Thank you I was already using -align but using the GUI, aligning it twice sometimes can reduce the number of components, is there something like that using CLI or maybe something like -align -align ?

Thank you!

Hello Victor, the usage the command twice is basically the same workflow as you described. There is no other command doing so.