Add the nth to this command:
selectImage imagePath|regexp
For example, I want to select every 4th input. Do it manually in the project with 20k inputs is to horrify =(
Add the nth to this command:
selectImage imagePath|regexp
For example, I want to select every 4th input. Do it manually in the project with 20k inputs is to horrify =(
Hi Oleg,
you can use this script for this: RealityCapture CLI Sample Scripts - Capturing Reality
Don’t need to do it manually.
Really thank you! It’s really useful materials
If someone need the same feature, here is a way how I completed it:
images.lst
4th.py
in the folder with images.lst
with content:with open('images.lst', 'r') as infile:
inputs = infile.readlines()
selected_inputs = [inputs[i].strip() for i in range(0, len(inputs), 4)]
with open('select_every_fourth.rccmd', 'w') as outfile:
for img in selected_inputs:
outfile.write(f'-selectImage "{img}" union\n')
select_every_fourth.rccmd
in same folder, drag-n-drop it into Reality Capture with opened project.How could I found this page (RealityCapture CLI Sample Scripts - Capturing Reality) in the navigation? Which section contain links like these?
UPD: sorry, I finally found it at the end of this page Sample datasets - Capturing Reality