MBZUAI-Campus / run_core.sh
Sebastian Cavada
adding gs training
caf7e02
# RUN RECONSTRUCTION
if [ ! -d "./global" ]; then
mkdir -p ./global/campus_core
fi
# echo "Running Feature Extractor"
# colmap feature_extractor --database_path ./global/database_core.db --image_path ./images --ImageReader.single_camera_per_folder 1 \
# --ImageReader.default_focal_length_factor 0.5 --ImageReader.camera_model OPENCV \
# --image_list_path ./images/campus_core/image_list.txt
# echo "Running feature matching..."
# colmap matches_importer --database_path ./global/database_core.db --match_list_path ./images/campus_core/image_pairs_exhaustive.txt
# echo "Reconstructing 3D model..."
# # colmap mapper --database_path ./global/database_core.db --image_path ./images --output_path ./global/campus_core --image_list_path ./images/campus_core/image_list.txt
# glomap mapper --database_path ./global/database_core.db --image_path ./images --output_path ./global/campus_core
echo "Showing result"
colmap gui --import_path ./global/campus_core/0 --database_path ./global/database_core.db --image_path ./images