Hua 68ab86e6b9 Refactor server.py: add base64 support, separate from training
- POST /solve accepts JSON with base64 encoded image
- POST /solve/upload keeps multipart file upload compatibility
- Server only depends on inference code (onnxruntime), no torch
- Catch invalid image errors with proper 400 response
- Update CLAUDE.md with new API documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 19:28:09 +08:00
2026-03-10 18:47:29 +08:00
Description
本地验证码识别系统,采用 调度模型 + 多专家模型 两级架构。调度模型分类验证码类型,专家模型负责具体识别。所有模型轻量化设计,导出 ONNX 部署。
229 KiB
Languages
Python 100%