From 1a723cf232bbc7845e24d84c0bf8e9bacad1d140 Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Tue, 11 Feb 2025 16:16:34 +0800 Subject: [PATCH] 1 --- old_to_new_build/get_reg_info_by_self.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/old_to_new_build/get_reg_info_by_self.py b/old_to_new_build/get_reg_info_by_self.py index 6872ccc..0b6022b 100644 --- a/old_to_new_build/get_reg_info_by_self.py +++ b/old_to_new_build/get_reg_info_by_self.py @@ -118,11 +118,11 @@ def cmd_run(pid,usePhoto = "1",lock=False): #将两组图片进行重新对齐 然后重建区域 psid = libs.getPSid(pid) - textpicCmd ='-selectImage "'+os.path.join(config.workdir,pid,'photo2')+'\*" -enableTexturingAndColoring true' - textpicCmdFalse ='-selectImage "'+os.path.join(config.workdir,pid,'photo1')+'\*" -enableTexturingAndColoring false' + # textpicCmd ='-selectImage "'+os.path.join(config.workdir,pid,'photo2')+'\*" -enableTexturingAndColoring true' + # textpicCmdFalse ='-selectImage "'+os.path.join(config.workdir,pid,'photo1')+'\*" -enableTexturingAndColoring false' cmd = f'{config.rcbin} -setInstanceName {pid} \ -addFolder "{os.path.join(config.workdir, pid, "photo2")}" \ - -detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" -align -align -align \ + -detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" {libs.get_defineDistances(psid)} -align -align -align \ -exportRegistration "D://{pid}/reg/{pid}_registration.out" "D://make2/config/registration_export_config.xml" -quit' print(cmd)