- Using images from outside the lab, with just images taken from the camera
ns-process-data images --data lab_outside_v2_images --output-dir lab_outside_v2_out
ns-train nerfacto --experiment-name exp3 --data lab_outside_v2_out/ --pipeline.model.predict-normals True
ns-export poisson --load-config outputs/exp3/nerfacto/2023-09-22_192736/config.yml --output-dir exports/mesh/lab_outside_v2/ --target-num-faces 50000 --num-pixels-per-side 2048 --normal-method model_output --normal-output-name normals --num-points 1000000 --remove-outliers True --use-bounding-box True --bounding-box-min -3.5 -3.5 -1 --bounding-box-max 3.5 3.5 1
- export point cloud
ns-export pointcloud --load-config outputs/exp3/nerfacto/2023-09-22_192736/config.yml --output-dir exports/pcd/lab_outside_v2/ --num-points 1000000 --remove-outliers True --normal-method model_output --normal-output-name normals --use-bounding-box True --bounding-box-min -3.5 -3.5 -1 --bounding-box-max 3.5 3.5 1
- Same as * exp3, but with the larger model
ns-train nerfacto-big --experiment-name exp4 --data lab_outside_v2_out/ --pipeline.model.predict-normals True
- Doesn’t work - insufficient memory
- Getting images of lab (v3) taken a bit more dense and also using the dslr app
data/experiments/exp5_process_train.sh
- View results
ns-viewer --load-config outputs/exp4/nerfacto/2023-09-22_233637/config.yml
- Export mesh
ns-export poisson --load-config outputs/exp4/nerfacto/2023-09-22_233637/config.yml --output-dir exports/mesh/exp5 --target-num-faces 50000 --num-pixels-per-side 2048 --normal-method model_output --normal-output-name normals --num-points 1000000 --remove-outliers True --use-bounding-box True --bounding-box-min -1 -1 -1 --bounding-box-max 1 1 1
- point cloud
ns-export pointcloud --load-config outputs/exp4/nerfacto/2023-09-22_233637/config.yml --output-dir exports/pcd/exp5 --num-points 1000000 --remove-outliers True --normal-method model_output --normal-output-name normals --use-bounding-box True --bounding-box-min -1 -1 -1 --bounding-box-max 1 1 1