添加了实时校正的功能(未测试)

This commit is contained in:
FEIJINTI 2023-03-12 16:34:44 +08:00
parent 991f86ebf8
commit 14edccf2d4

View File

@ -34,7 +34,7 @@ def process_cmd(cmd: str, data: any, connected_sock: socket.socket, detector: Wo
elif cmd == 'TR':
detector = WoodClass(w=4096, h=1200, n=3000, debug_mode=False)
model_name = None
if "/n" in data:
if ":" in data:
data, model_name = data.split(":", 1)
model_name = model_name + ".p"
settings.data_path = data