File size: 1,030 Bytes
a9728e7
 
7738311
9a0dbee
7738311
 
caf7e02
 
 
 
a9728e7
caf7e02
 
a9728e7
caf7e02
 
 
a9728e7
 
7de9793
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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