Fraunhofer-IIS / livenvs

Other
15 stars 1 forks source link

how to use colmap data #3

Open Merci306 opened 8 months ago

Merci306 commented 8 months ago

I want to use colmap data ,could you give me some advice

lorafib commented 7 months ago

Hey,

you can use a yml-file, similar to livevs_config.yml as input for the --datasets parameter to use colmap datasets. It would look something like this:

root_dir: /path/to/dataset/
type: colmap
colmap_txt_dir: /path/to/dataset/sparse/0/
image_dir: images/ 
depth_dir: depth/
image_file_ending: .png
depth_file_ending: .png

Note that only .txt files are supported, so .bin files would need to be converted first.