{ "_note": [ "台架自检模板:**没有相机、没有 .rknn 权重**时也能把整条链路跑起来(合成帧 + mock 检测框 → 判定/投票/证据/Modbus 发布)。", "用法:cp configs/bench-synthetic.json configs/site.json && systemctl restart portcv", "PLC 侧先对寄存器:Modbus-TCP 0.0.0.0:1502,unit 1,FC4 输入寄存器 0 起读视觉结果、FC3 保持寄存器 0 起写指令;心跳 500 ms。", "相机与模型到位后换成 configs/rk3588-rtsp.json(source=rtsp + run.backend=rknn + model.rknn_path)。", "注意:mock 后端的判定值是脚本化的,只用于验证链路与寄存器时序,**不能当精度验收**。" ], "run": { "backend": "mock", "mode": "composed", "max_fps": 10.0, "warmup_frames": 2, "save_on_change": true, "log_json": true }, "source": { "type": "synthetic", "fps": 10.0, "buffer_size": 2, "stale_frame_s": 0.6 }, "plc": { "enabled": true, "push": "modbus_server", "modbus": { "host": "0.0.0.0", "port": 1502, "unit_id": 1, "input_addr": 0, "holding_addr": 0, "allow_unit_any": true }, "gating": false, "heartbeat_ms": 500 } }