每辆车一条记录——车牌号、车牌类型、可信度、在画面中的位置和截图链接。发到步骤 1 填写的 MQTT 服务器(通常是 reComputer R1124-10)。
Port: 1883 · Topic: <site>/parking/<camera>/plate
{"schema":"parking.plate/1","event_id":"...","site_id":"demo-lot","camera_id":"gate-a","ts":1790000000789,"seq":2211,"replayed":false,"plate":"粤B12345","plate_normalized":"粤B12345","region":"cn","plate_type":"cn_blue","confidence":0.93,"votes":5,"frames":7,"bbox":[0.41,0.62,0.55,0.67],"track_id":77,"snapshot":{"url":"http://camera.local:8080/snapshots/2211.jpg","sha256":"...","width":1920,"height":1080}}
R1124-10 的开闸记录——action 为 open_pulse(已开闸)或 suppressed(同一车牌在冷却时间内再次到达),附对应的车牌记录和白名单标签。
Port: 1883 · Topic: <site>/parking/<camera>/gate
{"schema":"parking.gate/1","event_id":"...","site_id":"demo-lot","camera_id":"gate-a-barrier","ts":1790000000912,"seq":18,"replayed":false,"action":"open_pulse","trigger":"whitelist","plate_event_id":"...","plate_normalized":"粤B12345","whitelist_label":"员工-张","pulse_ms":500,"latency_ms":123}
识别服务运行状态,定时发布;识别主机离线时,MQTT 服务器上保留最后一条状态。
Port: 1883 · Topic: <root>/status
车牌记录里链接的截图。默认在识别主机上保留 7 天,图片不放进记录本身。
/snapshots/{seq}.jpg · Port: 8080 · Method: GET
R1124-10 上的白名单——GET 返回当前白名单 CSV,PUT 上传新名单整体替换(格式有误返回 400 并指出行号)。POST /gate/test 触发一次测试开闸。
/whitelist · Port: 8081 · Method: GET
识别服务状态检查,含识别速度。
/healthz · Port: 8099 · Method: GET