rennu / dpg

OpenMVG + OpenMVS Pipeline
82 stars 28 forks source link

Failed while executing: /opt/openmvs/bin/OpenMVS/RefineMesh scene_dense_mesh.mvs -v 3 #23

Open Konstantysz opened 7 months ago

Konstantysz commented 7 months ago

I can't make RefineMesh working. stdout and stderr are empty and return code is 01. Compiled it without CUDA.

14:23:27 [App     ] OpenMVS x64 v2.2.0
14:23:27 [App     ] Build date: Nov  2 2023, 11:12:02
14:23:27 [App     ] CPU: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 cores)
14:23:27 [App     ] RAM: 31.13GB Physical Memory 3.81GB Virtual Memory
14:23:27 [App     ] OS: Linux 5.4.0-166-generic (x86_64)
14:23:27 [App     ] Disk: 278.20GB (463.22GB) space
14:23:27 [App     ] SSE & AVX compatible CPU & OS detected
14:23:27 [App     ] Command line: RefineMesh scene_dense_mesh.mvs -v 3
Failed while executing:
/opt/openmvs/bin/OpenMVS/RefineMesh scene_dense_mesh.mvs -v 3

My pipeline:

ptools@5558b86da298:/$ pipeline.py --input ~/datasets/images/ --output ~/openMVS_output/temple/ --sfm-type incremental --geomodel f --run-openmvg --run-openmvs --intrinsics "1520.4;0;302.32;0;1525.9;246.87;0;0;1" --densify --debug
Instrics analysis
=========================================================================
/opt/openmvg/bin/openMVG_main_SfMInit_ImageListing -i /home/ptools/datasets/images/ -o /home/ptools/openMVS_output/temple/matches -d /opt/openmvg/share/openMVG/sensor_width_camera_database.txt -k 1520.4;0;302.32;0;1525.9;246.87;0;0;1

Compute features
=========================================================================
/opt/openmvg/bin/openMVG_main_ComputeFeatures -i /home/ptools/openMVS_output/temple/matches/sfm_data.json -o /home/ptools/openMVS_output/temple/matches -m SIFT

Compute matching pairs
=========================================================================
/opt/openmvg/bin/openMVG_main_PairGenerator -i /home/ptools/openMVS_output/temple/matches/sfm_data.json -o /home/ptools/openMVS_output/temple/matches/pairs.bin

Compute matches
=========================================================================
/opt/openmvg/bin/openMVG_main_ComputeMatches -i /home/ptools/openMVS_output/temple/matches/sfm_data.json -p /home/ptools/openMVS_output/temple/matches/pairs.bin -o /home/ptools/openMVS_output/temple/matches/matches.putative.bin

Filter matches
=========================================================================
/opt/openmvg/bin/openMVG_main_GeometricFilter -i /home/ptools/openMVS_output/temple/matches/sfm_data.json -m /home/ptools/openMVS_output/temple/matches/matches.putative.bin -o /home/ptools/openMVS_output/temple/matches/matches.f.bin -g f

Do incremental/sequential reconstruction
=========================================================================
/opt/openmvg/bin/openMVG_main_SfM -s INCREMENTAL -i /home/ptools/openMVS_output/temple/matches/sfm_data.json -m /home/ptools/openMVS_output/temple/matches -o /home/ptools/openMVS_output/temple/reconstruction_global

Convert OpenMVG project to OpenMVS
=========================================================================
/opt/openmvg/bin/openMVG_main_openMVG2openMVS -i /home/ptools/openMVS_output/temple/reconstruction_global/sfm_data.bin -o /home/ptools/openMVS_output/temple/omvs/scene.mvs -d /home/ptools/openMVS_output/temple/omvs

Densify point cloud
=========================================================================
/opt/openmvs/bin/OpenMVS/DensifyPointCloud scene.mvs -v 0

Reconstruct mesh
=========================================================================
/opt/openmvs/bin/OpenMVS/ReconstructMesh scene_dense.mvs -v 0

Refine mesh
=========================================================================
/opt/openmvs/bin/OpenMVS/RefineMesh scene_dense_mesh.mvs -v 3

Texture mesh
=========================================================================
/opt/openmvs/bin/OpenMVS/TextureMesh scene_dense_mesh_refine.mvs -v 0 --empty-color 0 --resolution-level 0