mirror of
https://github.com/NanjingForestryUniversity/supermachine-wood.git
synced 2025-11-08 10:13:53 +00:00
添加了实时校正的功能(未测试)
This commit is contained in:
parent
991f86ebf8
commit
14edccf2d4
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user