Point cloud data can be captured from 3D scanner app. This app exports necessary files to SAM3D.
Follow the steps to capture and test:
In 3d scanner app, there are five options to catpure data from the sensor. Choose the second option to capture point.
After captured, export all data to your computer. The directory should contain frame_XXX.jpg(s), frame_XXX.json(s), depth_XXX.png(s) and points.ply. The number of frame_XXX.jpg(s) are usually less than frame_XXX.json(s').
Use preprocess_3d_scan.py to preprocess the files. This will generate a directory including points.pth, color directory, depth directory, pose directory and intrinsics directory.
Use sam3d_custom.py to run. This will generate a directory, 2d mask images, result.pth, result.ply.
Point cloud data can be captured from 3D scanner app. This app exports necessary files to SAM3D.
Follow the steps to capture and test:
preprocess_3d_scan.py
to preprocess the files. This will generate a directory including points.pth, color directory, depth directory, pose directory and intrinsics directory.sam3d_custom.py
to run. This will generate a directory, 2d mask images, result.pth, result.ply.