Update README.md

This commit is contained in:
Kai Zhang 2020-10-21 09:43:01 -04:00 committed by GitHub
parent 5b8e33d277
commit 0ad8cded81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,10 +59,11 @@ Plese cite our work if you use the code.
``` ```
## Generate poses with [COLMAP SfM](https://colmap.github.io/) ## Generate poses with [COLMAP SfM](https://colmap.github.io/)
You can use the scripts inside 'colmap_runner/' to generate camera poses from images with COLMAP SfM. You can use the scripts inside *'colmap_runner/'* to generate camera poses from images with COLMAP SfM.
* Specify 'img_dir' and 'out_dir' in 'colmap_runner/run_colmap.py'. * Specify *'img_dir'* and *'out_dir'* in *'colmap_runner/run_colmap.py'*.
* Inside 'colmap_runner/', execute command 'python run_colmap.py'. * Inside *'colmap_runner/'*, execute command *'python run_colmap.py'*.
* After program finishes running, you would see the posed images in the folder 'out_dir/posed_images'. * After program finishes running, you would see the posed images in the folder *'out_dir/posed_images'*.
* Distortion-free images are inside 'out_dir/posed_images/images'. * Distortion-free images are inside *'out_dir/posed_images/images'*.
* Raw COLMAP poses is stored as a json file 'out_dir/posed_images/kai_cameras.json'. * Raw COLMAP intrinsics poses are stored as a json file *'out_dir/posed_images/kai_cameras.json'*.
* Normalized camderas is stored in 'out_dir/posed_images/kai_cameras_normalized.json'. See the 'Scene normalization method' in the 'Data' section. * Normalized camderas is stored in *'out_dir/posed_images/kai_cameras_normalized.json'*. See the *'Scene normalization method'* in the *'Data'* section.
* Split distortion-free images and their correspoinding normalized cameras according to your need.