MCPcopy Create free account
hub / github.com/XiaoBaiiiiii/colmap-pcd / main

Function main

scripts/python/visualize_model.py:198–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196
197
198def main():
199 args = parse_args()
200
201 # read COLMAP model
202 model = Model()
203 model.read_model(args.input_model, ext=args.input_format)
204
205 print("num_cameras:", len(model.cameras))
206 print("num_images:", len(model.images))
207 print("num_points3D:", len(model.points3D))
208
209 # display using Open3D visualization tools
210 model.create_window()
211 model.add_points()
212 model.add_cameras(scale=0.25)
213 model.show()
214
215
216if __name__ == "__main__":

Callers 1

visualize_model.pyFile · 0.70

Calls 7

read_modelMethod · 0.95
create_windowMethod · 0.95
add_pointsMethod · 0.95
add_camerasMethod · 0.95
showMethod · 0.95
parse_argsFunction · 0.70
ModelClass · 0.70

Tested by

no test coverage detected