MCPcopy Index your code
hub / github.com/SpectacularAI/sdk / write_colmap_csv

Function write_colmap_csv

python/cli/process/process.py:678–681  ·  view source on GitHub ↗
(data, fn)

Source from the content-addressed store, hash-verified

676 c_points, c_images, c_cameras = convert_json_taichi_to_colmap(allFrames, merged_df, sparseObservations, nerfstudio_fake_obs=True)
677
678 def write_colmap_csv(data, fn):
679 with open(fn, 'wt') as f:
680 for row in data:
681 f.write(' '.join([str(c) for c in row])+'\n')
682
683 # splatfacto point cloud format
684 point_cloud_data_frame_to_ply(merged_df, f"{args.output}/sparse_pc.ply")

Callers 1

process_mapping_outputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected