OCR文字识别服务,支持表格、名片、手写体及通用文字识别,可将图片文字智能转为可编辑文本。
该功能支持自动提取和快速识别图像中的手写体内容及文字区域坐标,针对手写字体不规则、字迹潦草、模糊等常见情况,提升了识别能力。
showapi_res_body
curl -X POST "https://route.showapi.com/1274-7?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "img_url=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F18%2F07%2F31%2F2d44ca4168dea5dd234f3d9c6a086e4e.jpg&img_base64="
{ "showapi_res_error": "", "showapi_fee_num": 1, "showapi_res_code": 0, "showapi_res_id": "610cbeb80de376ca79131b94", "showapi_res_body": { "ret_code": 0, "remark": "", "all_str": "山有木兮木有枝落\n心悦君兮君不知", "text_results": [ { "text": "山有木兮木有枝", "range": [ { "y": 213, "x": 30 }, { "y": 227, "x": 599 }, { "y": 333, "x": 597 }, { "y": 320, "x": 27 } ] } ] } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-1274": { "url": "http://www.showapi.com.cn/mcp/1274/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033