🔧 OCR调试服务器(vLLM) - 端口8102

0

活跃任务

44

已完成

0

失败任务

44

总任务数

📡 API接口

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

📝 最近日志

2026-11-23T19:49:40.595373 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2026-11-23T19:49:40.596930 - POST /ocr: error
第1张图片下载失败: HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
2026-11-23T19:49:41.789334 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2026-11-23T19:49:41.791689 - POST /ocr: error
第1张图片下载失败: HTTPConnectionPool(host='127.0.0.1', port=6379): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
2026-11-23T19:49:43.022499 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2026-11-23T19:49:43.025503 - POST /ocr: error
第1张图片下载失败: HTTPConnectionPool(host='127.0.0.1', port=5432): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
2026-11-23T19:49:44.302178 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2026-11-23T19:49:44.304439 - POST /ocr: error
第1张图片下载失败: HTTPConnectionPool(host='127.0.0.1', port=11211): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
2026-11-23T19:49:45.914660 - POST /ocr: received
收到LcRecognitionReq: imgInfoList=1, moduleMetaJson=True
2026-11-23T19:49:45.916609 - POST /ocr: error
第1张图片下载失败: HTTPConnectionPool(host='127.0.0.1', port=15672): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))

ℹ️ 服务信息

端口: 8102

vLLM地址: http://127.0.0.1:11941/v1

vLLM状态: 可用

页面将每5秒自动刷新