microsoft / lamar-benchmark

Source code for the ECCV 2022 paper "Benchmarking Localization and Mapping for Augmented Reality".
Creative Commons Attribution 4.0 International
385 stars 36 forks source link

is there any pipeline or demo to show how to use the data from ScanCapture? #34

Open wutingfan opened 1 year ago

wutingfan commented 1 year ago

I want to do 3d reconstruction by iphone,is there any demo to show how to use the data from ScanCapture?

sarlinpe commented 1 year ago

You can convert the captured data to an empty COLMAP model via scantools.run_phone_to_capture followed by scantools.run_capture_to_empty_colmap. Then you can triangulate a 3D point cloud with COLMAP/hloc and refine poses+intrinsics.

wutingfan commented 1 year ago

You can convert the captured data to an empty COLMAP model via scantools.run_phone_to_capture followed by scantools.run_capture_to_empty_colmap. Then you can triangulate a 3D point cloud with COLMAP/hloc and refine poses+intrinsics.

Thank you for your reple. after scantools.run_phone_to_capture, I get pose depth rgb, maybe I can get a mesh only by tsdf fusion? For your opinion, Is the mesh would look good? I'm not look into the code yet, but I notice that there are run_reference_triangulation.py and run_meshing.py, could I use these scripts(or some modifications) to generate mesh?