LaTeX公式识别
识别图中的LaTeX公式,科大讯飞公式识别API
接口介绍
请求方式:
GET返回格式:
JSON
接口地址:
https://api.szfx.top/xfitr/
请求示例:
https://api.szfx.top/xfitr/?pic=https://api.szfx.top/xfitr/demo.png
请求参数
| 参数 | 参数值 | 必填 | 说明 |
|---|---|---|---|
| pic | url | 是 | 待识别图片地址 |
返回参数
| 名称 | 类型 | 说明 |
|---|---|---|
| src | url | 识别的图片地址 |
| dst | string | 识别的LaTex代码 |
返回示例
{
"code": "200",
"src": "https://api.szfx.top/xfitr/demo.png",
"dst": "\\frac {x^ {2}}{a^ {2}} - \\frac {y^ {2}}{b^ {2}} =1(a>0,b>0)"
}
代码示例
暂无示例