Update README.md

This commit is contained in:
Kai Zhang 2020-10-21 09:46:20 -04:00 committed by GitHub
parent 4329374c22
commit f157f11976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,12 +58,12 @@ Plese cite our work if you use the code.
}
```
## 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.
## Generate camera parameters (intrinsics and poses) with [COLMAP SfM](https://colmap.github.io/)
You can use the scripts inside *'colmap_runner/'* to generate camera parameters from images with COLMAP SfM.
* Specify *'img_dir'* and *'out_dir'* in *'colmap_runner/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, you would see the posed images in the folder *'out_dir/posed_images'*.
* Distortion-free images are inside *'out_dir/posed_images/images'*.
* Raw COLMAP intrinsics and poses are stored as a json file *'out_dir/posed_images/kai_cameras.json'*.
* Normalized camderas are stored in *'out_dir/posed_images/kai_cameras_normalized.json'*. See the *'Scene normalization method'* in the *'Data'* section.
* Normalized cameras are 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.