-
Notifications
You must be signed in to change notification settings - Fork 581
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yunxiang Lu
committed
Mar 10, 2024
1 parent
801d79d
commit cb8bcef
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import pycolmap | ||
|
||
reconstruction = pycolmap.Reconstruction("outputs/demo/sfm") | ||
print(reconstruction.summary()) | ||
|
||
# convert .bin file to .txt file | ||
reconstruction.write_text("outputs/demo/sfm") # text format | ||
reconstruction.export_PLY("outputs/demo/sfm/rec.ply") # PLY format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters