|
|
|
@ -106,10 +106,13 @@ def cmd_run(pid,usePhoto = "1",lock=False): |
|
|
|
|
|
|
|
|
|
|
|
#将两组图片进行重新对齐 然后重建区域 |
|
|
|
#将两组图片进行重新对齐 然后重建区域 |
|
|
|
psid = libs.getPSid(pid) |
|
|
|
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} \ |
|
|
|
cmd = f'{config.rcbin} -setInstanceName {pid} \ |
|
|
|
-addFolder "{os.path.join(config.workdir, pid, usePhoto)}" {config.r["setTextureFalse"]}\ |
|
|
|
-addFolder "{os.path.join(config.workdir, pid, usePhoto)}" {config.r["setTextureFalse"]}\ |
|
|
|
-addFolder "{os.path.join(config.workdir, pid, "photo2")}" {config.r["setTextureTrue"]}\ |
|
|
|
-addFolder "{os.path.join(config.workdir, pid, "photo2")}" {config.r["setTextureTrue"]}\ |
|
|
|
-detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" -align -align -align \ |
|
|
|
-detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" -align -align -align \ |
|
|
|
|
|
|
|
{textpicCmdFalse} {textpicCmd} \ |
|
|
|
{libs.get_defineDistances(psid)} -update -align -align {config.r2["setRegion"]} \ |
|
|
|
{libs.get_defineDistances(psid)} -update -align -align {config.r2["setRegion"]} \ |
|
|
|
{exportxmp} \ |
|
|
|
{exportxmp} \ |
|
|
|
-exportReconstructionRegion "{os.path.join(config.workdir, pid, f"{pid}.rcbox")}" \ |
|
|
|
-exportReconstructionRegion "{os.path.join(config.workdir, pid, f"{pid}.rcbox")}" \ |
|
|
|
|