Upload folder using huggingface_hub
Browse files- glomap_mapper.sh +7 -7
glomap_mapper.sh
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
echo "Executing glomapMapper.sh ..."
|
| 3 |
|
| 4 |
-
sequence_path="$1"
|
| 5 |
-
exp_folder="$2"
|
| 6 |
-
exp_id="$3"
|
| 7 |
settings_yaml="$4"
|
| 8 |
calibration_yaml="$5"
|
| 9 |
rgb_csv="$6"
|
|
@@ -15,8 +15,8 @@ rgb_path="${sequence_path}/${rgb_dir}"
|
|
| 15 |
|
| 16 |
read -r calibration_model more_ <<< $(python3 Baselines/colmap/get_calibration.py "$calibration_yaml" "$camera_name")
|
| 17 |
echo " camera model : $calibration_model"
|
| 18 |
-
optimize_intrinsics="
|
| 19 |
-
skip_view_graph_calibration="
|
| 20 |
if [ "${calibration_model}" == "unknown" ]
|
| 21 |
then
|
| 22 |
optimize_intrinsics="1"
|
|
@@ -32,7 +32,7 @@ glomap mapper \
|
|
| 32 |
--output_path "${exp_folder_colmap}" \
|
| 33 |
--skip_view_graph_calibration "${skip_view_graph_calibration}" \
|
| 34 |
--BundleAdjustment.optimize_intrinsics "${BundleAdjustment_optimize_intrinsics}"
|
| 35 |
-
|
| 36 |
|
| 37 |
# colmap image_undistorter \
|
| 38 |
# --image_path "${rgb_path}" \
|
|
@@ -48,7 +48,7 @@ glomap mapper \
|
|
| 48 |
# --PatchMatchStereo.filter true \
|
| 49 |
# --PatchMatchStereo.window_step 2 \
|
| 50 |
# --PatchMatchStereo.geom_consistency true
|
| 51 |
-
|
| 52 |
echo " colmap model_converter ..."
|
| 53 |
colmap model_converter \
|
| 54 |
--input_path ${exp_folder_colmap}/0 --output_path ${exp_folder_colmap} --output_type TXT
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
echo "Executing glomapMapper.sh ..."
|
| 3 |
|
| 4 |
+
sequence_path="$1"
|
| 5 |
+
exp_folder="$2"
|
| 6 |
+
exp_id="$3"
|
| 7 |
settings_yaml="$4"
|
| 8 |
calibration_yaml="$5"
|
| 9 |
rgb_csv="$6"
|
|
|
|
| 15 |
|
| 16 |
read -r calibration_model more_ <<< $(python3 Baselines/colmap/get_calibration.py "$calibration_yaml" "$camera_name")
|
| 17 |
echo " camera model : $calibration_model"
|
| 18 |
+
optimize_intrinsics="1"
|
| 19 |
+
skip_view_graph_calibration="0"
|
| 20 |
if [ "${calibration_model}" == "unknown" ]
|
| 21 |
then
|
| 22 |
optimize_intrinsics="1"
|
|
|
|
| 32 |
--output_path "${exp_folder_colmap}" \
|
| 33 |
--skip_view_graph_calibration "${skip_view_graph_calibration}" \
|
| 34 |
--BundleAdjustment.optimize_intrinsics "${BundleAdjustment_optimize_intrinsics}"
|
| 35 |
+
|
| 36 |
|
| 37 |
# colmap image_undistorter \
|
| 38 |
# --image_path "${rgb_path}" \
|
|
|
|
| 48 |
# --PatchMatchStereo.filter true \
|
| 49 |
# --PatchMatchStereo.window_step 2 \
|
| 50 |
# --PatchMatchStereo.geom_consistency true
|
| 51 |
+
|
| 52 |
echo " colmap model_converter ..."
|
| 53 |
colmap model_converter \
|
| 54 |
--input_path ${exp_folder_colmap}/0 --output_path ${exp_folder_colmap} --output_type TXT
|