1
This commit is contained in:
1 parent
920399f4a0
commit
ee5f024722
1 file changed
+2
@@ -103,6 +103,8 @@ def detect_markers(psid, pid):
|
|||||||
{textpicCmd} -save "{os.path.join(config["workdir"], pid, f"{pid}.rcproj")}" -quit'
|
{textpicCmd} -save "{os.path.join(config["workdir"], pid, f"{pid}.rcproj")}" -quit'
|
||||||
print(cmd)
|
print(cmd)
|
||||||
cmd = shlex.split(cmd)
|
cmd = shlex.split(cmd)
|
||||||
|
res = subprocess.run(cmd)
|
||||||
|
print("res",res)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
fix_region()
|
fix_region()
|
||||||
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 定位点检测完成, 共费时{diff_time(start_time)}')
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 定位点检测完成, 共费时{diff_time(start_time)}')
|
||||||
|
|||||||
Reference in new issue
Block a user