diff --git a/odm_preprocess.py b/odm_preprocess.py index 88e0263..40f2edc 100644 --- a/odm_preprocess.py +++ b/odm_preprocess.py @@ -185,8 +185,8 @@ class ImagePreprocessor: if __name__ == '__main__': # 创建配置 config = PreprocessConfig( - image_dir=r'E:\datasets\UAV\1815\images', - output_dir=r'E:\datasets\UAV\1815\output', + image_dir=r'C:\datasets\1815\images', + output_dir=r'C:\datasets\1815\output', filter_grid_size=0.001, filter_dense_distance_threshold=10, filter_distance_threshold=0.001, diff --git a/preprocess/__pycache__/command_runner.cpython-312.pyc b/preprocess/__pycache__/command_runner.cpython-312.pyc deleted file mode 100644 index 2336853..0000000 Binary files a/preprocess/__pycache__/command_runner.cpython-312.pyc and /dev/null differ diff --git a/preprocess/__pycache__/command_runner.cpython-39.pyc b/preprocess/__pycache__/command_runner.cpython-39.pyc deleted file mode 100644 index c8556e7..0000000 Binary files a/preprocess/__pycache__/command_runner.cpython-39.pyc and /dev/null differ diff --git a/preprocess/__pycache__/gps_extractor.cpython-312.pyc b/preprocess/__pycache__/gps_extractor.cpython-312.pyc deleted file mode 100644 index bd6097b..0000000 Binary files a/preprocess/__pycache__/gps_extractor.cpython-312.pyc and /dev/null differ diff --git a/preprocess/__pycache__/gps_extractor.cpython-39.pyc b/preprocess/__pycache__/gps_extractor.cpython-39.pyc deleted file mode 100644 index e6cb333..0000000 Binary files a/preprocess/__pycache__/gps_extractor.cpython-39.pyc and /dev/null differ diff --git a/preprocess/__pycache__/gps_filter.cpython-312.pyc b/preprocess/__pycache__/gps_filter.cpython-312.pyc deleted file mode 100644 index 7740c08..0000000 Binary files a/preprocess/__pycache__/gps_filter.cpython-312.pyc and /dev/null differ diff --git a/preprocess/__pycache__/gps_filter.cpython-39.pyc b/preprocess/__pycache__/gps_filter.cpython-39.pyc deleted file mode 100644 index eb00f2b..0000000 Binary files a/preprocess/__pycache__/gps_filter.cpython-39.pyc and /dev/null differ diff --git a/preprocess/__pycache__/grid_divider.cpython-312.pyc b/preprocess/__pycache__/grid_divider.cpython-312.pyc deleted file mode 100644 index c8f1835..0000000 Binary files a/preprocess/__pycache__/grid_divider.cpython-312.pyc and /dev/null differ diff --git a/preprocess/__pycache__/grid_divider.cpython-39.pyc b/preprocess/__pycache__/grid_divider.cpython-39.pyc deleted file mode 100644 index 91d3fe4..0000000 Binary files a/preprocess/__pycache__/grid_divider.cpython-39.pyc and /dev/null differ diff --git a/preprocess/__pycache__/logger.cpython-312.pyc b/preprocess/__pycache__/logger.cpython-312.pyc deleted file mode 100644 index 5212144..0000000 Binary files a/preprocess/__pycache__/logger.cpython-312.pyc and /dev/null differ diff --git a/preprocess/__pycache__/logger.cpython-39.pyc b/preprocess/__pycache__/logger.cpython-39.pyc deleted file mode 100644 index c26b582..0000000 Binary files a/preprocess/__pycache__/logger.cpython-39.pyc and /dev/null differ diff --git a/preprocess/__pycache__/time_filter.cpython-312.pyc b/preprocess/__pycache__/time_filter.cpython-312.pyc deleted file mode 100644 index 99244d3..0000000 Binary files a/preprocess/__pycache__/time_filter.cpython-312.pyc and /dev/null differ diff --git a/preprocess/__pycache__/time_filter.cpython-39.pyc b/preprocess/__pycache__/time_filter.cpython-39.pyc deleted file mode 100644 index 99e81a5..0000000 Binary files a/preprocess/__pycache__/time_filter.cpython-39.pyc and /dev/null differ diff --git a/preprocess/command_runner.py b/preprocess/command_runner.py index 207d888..d93fe72 100644 --- a/preprocess/command_runner.py +++ b/preprocess/command_runner.py @@ -53,7 +53,7 @@ class CommandRunner: try: # 确定网格目录和命令 grid_dir = os.path.join(self.output_dir, f'grid_{grid_idx + 1}') - command = f"docker run -ti --rm -v {grid_dir}:/datasets opendronemap/odm --project-path /datasets project --feature-quality lowest --force-gps" + command = f"docker run -ti --rm -v {grid_dir}:/datasets opendronemap/odm --project-path /datasets project --feature-quality lowest --force-gps --use-3dmesh" self.logger.info(f"执行命令: {command} 在目录: {grid_dir}")