From e7e3d1fc2527ef8d12244558c81dab7831bbd416 Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Fri, 7 Feb 2025 20:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E9=87=8D=E5=BB=BA=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=A2=9E=E5=8A=A0=E8=B4=B4=E5=9B=BE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manual_single.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manual_single.py b/manual_single.py index e019154..b42f304 100644 --- a/manual_single.py +++ b/manual_single.py @@ -106,10 +106,13 @@ 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' cmd = f'{config.rcbin} -setInstanceName {pid} \ -addFolder "{os.path.join(config.workdir, pid, usePhoto)}" {config.r["setTextureFalse"]}\ -addFolder "{os.path.join(config.workdir, pid, "photo2")}" {config.r["setTextureTrue"]}\ -detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" -align -align -align \ + {textpicCmdFalse} {textpicCmd} \ {libs.get_defineDistances(psid)} -update -align -align {config.r2["setRegion"]} \ {exportxmp} \ -exportReconstructionRegion "{os.path.join(config.workdir, pid, f"{pid}.rcbox")}" \