File size: 999 Bytes
caf7e02
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN RECONSTRUCTION

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 

echo "Running feature matching..."
colmap matches_imporer --database_path ./global/database_core.db --match_list_path ./images/campus_knowledge_center/image_pairs_exhaustive.txt

echo "Reconstructing 3D model..."
colmap mapper --database_path ./global/database_core.db --image_path ./images --output_path ./campus_palms --image_list_path ./images/campus_palms/image_list.txt

ENDIN=$(date +"%H:%M:%S")
curl -X POST -H 'Content-Type: application/json' -d "{\"chat_id\": \"777722458\", \"text\": \"FINE COLMAP\", \"disable_notification\": true}" https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage

echo "Showing result"
colmap gui --import_path ./campus_palms/1 --database_path ./global/database_core.db --image_path ./images