🔧 OCR调试服务器 - 端口8100

0

活跃任务

29

已完成

1

失败任务

30

总任务数

📡 API接口

🎯 智能OCR接口 (LcRecognitionReq)
POST /ocr
接收LcRecognitionReq格式的JSON请求体,执行OCR识别、组件解析和实体提取
参数: imgInfoList (图片列表), moduleMetaJson (组件元数据)
功能: OCR识别 → 实体提取 → 组件匹配 → 结构化返回
🎯 查询处理结果
GET /ocr/{task_id}
查询OCR任务的完整处理结果,包含组件匹配和实体提取数据
健康检查
GET /health
检查服务器运行状态
调试信息
GET /debug/info
获取详细的调试信息

📝 最近日志

2025-12-08T13:44:45.503199 - lc_recognition_process: completed
任务 402984af-286f-4278-8f2b-c55ce9e285d7 完成,耗时 8.44秒,9个组件,8个实体
2025-12-08T13:44:45.503430 - POST /ocr: success
LcRecognitionReq任务 402984af-286f-4278-8f2b-c55ce9e285d7 同步处理完成
2025-12-08T13:45:02.307787 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2025-12-08T13:45:02.315869 - lc_recognition_process: started
开始处理LcRecognitionReq任务 9624456d-5ab9-47df-b7f9-a0d15ef345da
2025-12-08T13:45:10.636450 - lc_recognition_process: completed
任务 9624456d-5ab9-47df-b7f9-a0d15ef345da 完成,耗时 8.32秒,9个组件,8个实体
2025-12-08T13:45:10.636639 - POST /ocr: success
LcRecognitionReq任务 9624456d-5ab9-47df-b7f9-a0d15ef345da 同步处理完成
2025-12-08T13:45:35.446243 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2025-12-08T13:45:35.454017 - lc_recognition_process: started
开始处理LcRecognitionReq任务 5e46a599-5f54-489d-8718-7f4964c8a34e
2025-12-08T13:45:43.678529 - lc_recognition_process: completed
任务 5e46a599-5f54-489d-8718-7f4964c8a34e 完成,耗时 8.22秒,4个组件,8个实体
2025-12-08T13:45:43.678713 - POST /ocr: success
LcRecognitionReq任务 5e46a599-5f54-489d-8718-7f4964c8a34e 同步处理完成

ℹ️ 服务信息

端口: 8100

设备: cuda:0

模型状态: 已加载

页面将每5秒自动刷新