OCR识图

本产品经过审核认证

识别图片文字内容 中英文皆可解析

10元 (自购买起,30天有效期100次)

功能介绍

识别图片文字内容 中英文皆可解析

服务保障

可靠安全
提供高可用、低延迟的服务,实施严格的安全措施,确保业务的稳定运行和数据安全。
服务保障
专业团队提供全方位的售前和售后服务,随时解决您的疑问和问题。
数据权威
严格遵守数据保护法规,官方直连获取数据,确保数据的合法、合规、安全。
交易保障
提供多样接口,并持续更新,保证权益,以满足您不断变化的业务和商业需求。

使用流程

申请和认证
申请所选的API,并进行实名认证和相关认证
试用和测试
在购买前,测试API以确认它是否满足需求
下单调用
购买套餐后,在应用或系统中集成和使用API
    接口文档
  • POST识图文本

  • 错误码
  • 错误码列表
识图文本
接口地址:/api/v1/apiboxes/send_api/ocr_image_text
请求方式:http POST
返回类型:json
接口描述:暂无描述

请求Header:

请求参数说明:

名称是否必填类型描述
image_urlString图片链接地址

返回参数说明:

名称是否必填类型描述
ocr 无需 Object解析返回

JSON返回示例:

{
    "code": "20000",
    "ocr": {
        "ParsedResults": [{
            "TextOverlay": {
                "Lines": [{
                        "LineText": "0奈斯apiA丨",
                        "Words": [{
                                "WordText": "0",
                                "Left": 66.0,
                                "Top": 38.0,
                                "Height": 41.0,
                                "Width": 42.0
                            },
                            {
                                "WordText": "奈",
                                "Left": 120.0,
                                "Top": 41.0,
                                "Height": 30.0,
                                "Width": 30.0
                            },
                            {
                                "WordText": "斯",
                                "Left": 154.0,
                                "Top": 42.0,
                                "Height": 30.0,
                                "Width": 31.0
                            },
                            {
                                "WordText": "api",
                                "Left": 190.0,
                                "Top": 43.0,
                                "Height": 29.0,
                                "Width": 29.0
                            },
                            {
                                "WordText": "A",
                                "Left": 222.0,
                                "Top": 45.0,
                                "Height": 25.0,
                                "Width": 21.0
                            },
                            {
                                "WordText": "丨",
                                "Left": 248.0,
                                "Top": 45.0,
                                "Height": 25.0,
                                "Width": 4.0
                            }
                        ],
                        "MaxHeight": 41.0,
                        "MinTop": 38.0
                    },
                    {
                        "LineText": "您最好的",
                        "Words": [{
                                "WordText": "您",
                                "Left": 68.0,
                                "Top": 142.0,
                                "Height": 74.0,
                                "Width": 73.0
                            },
                            {
                                "WordText": "最",
                                "Left": 156.0,
                                "Top": 146.0,
                                "Height": 71.0,
                                "Width": 72.0
                            },
                            {
                                "WordText": "好",
                                "Left": 240.0,
                                "Top": 143.0,
                                "Height": 74.0,
                                "Width": 75.0
                            },
                            {
                                "WordText": "的",
                                "Left": 330.0,
                                "Top": 143.0,
                                "Height": 73.0,
                                "Width": 69.0
                            }
                        ],
                        "MaxHeight": 74.0,
                        "MinTop": 142.0
                    },
                    {
                        "LineText": "A《助手",
                        "Words": [{
                                "WordText": "A",
                                "Left": 65.0,
                                "Top": 253.0,
                                "Height": 59.0,
                                "Width": 51.0
                            },
                            {
                                "WordText": "《",
                                "Left": 131.0,
                                "Top": 253.0,
                                "Height": 59.0,
                                "Width": 12.0
                            },
                            {
                                "WordText": "助",
                                "Left": 160.0,
                                "Top": 247.0,
                                "Height": 74.0,
                                "Width": 71.0
                            },
                            {
                                "WordText": "手",
                                "Left": 248.0,
                                "Top": 247.0,
                                "Height": 75.0,
                                "Width": 72.0
                            }
                        ],
                        "MaxHeight": 75.0,
                        "MinTop": 247.0
                    },
                    {
                        "LineText": "奈斯AI助手",
                        "Words": [{
                                "WordText": "奈",
                                "Left": 255.0,
                                "Top": 695.0,
                                "Height": 45.0,
                                "Width": 45.0
                            },
                            {
                                "WordText": "斯",
                                "Left": 303.0,
                                "Top": 695.0,
                                "Height": 47.0,
                                "Width": 47.0
                            },
                            {
                                "WordText": "明",
                                "Left": 353.0,
                                "Top": 697.0,
                                "Height": 45.0,
                                "Width": 42.0
                            },
                            {
                                "WordText": "AI",
                                "Left": 411.0,
                                "Top": 701.0,
                                "Height": 34.0,
                                "Width": 42.0
                            },
                            {
                                "WordText": "助",
                                "Left": 471.0,
                                "Top": 695.0,
                                "Height": 46.0,
                                "Width": 45.0
                            },
                            {
                                "WordText": "手",
                                "Left": 519.0,
                                "Top": 696.0,
                                "Height": 45.0,
                                "Width": 47.0
                            }
                        ],
                        "MaxHeight": 47.0,
                        "MinTop": 695.0
                    },
                    {
                        "LineText": "您的专属大聪明,欢迎和我聊天",
                        "Words": [{
                                "WordText": "您",
                                "Left": 242.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 24.0
                            },
                            {
                                "WordText": "的",
                                "Left": 267.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": "专",
                                "Left": 291.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "属",
                                "Left": 314.0,
                                "Top": 813.0,
                                "Height": 22.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "大",
                                "Left": 338.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "聪",
                                "Left": 362.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 24.0
                            },
                            {
                                "WordText": "明",
                                "Left": 388.0,
                                "Top": 813.0,
                                "Height": 22.0,
                                "Width": 21.0
                            },
                            {
                                "WordText": ",",
                                "Left": 414.0,
                                "Top": 829.0,
                                "Height": 7.0,
                                "Width": 3.0
                            },
                            {
                                "WordText": "欢",
                                "Left": 434.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "迎",
                                "Left": 458.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "和",
                                "Left": 482.0,
                                "Top": 813.0,
                                "Height": 22.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "我",
                                "Left": 506.0,
                                "Top": 812.0,
                                "Height": 23.0,
                                "Width": 24.0
                            },
                            {
                                "WordText": "聊",
                                "Left": 530.0,
                                "Top": 813.0,
                                "Height": 22.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "天",
                                "Left": 554.0,
                                "Top": 813.0,
                                "Height": 22.0,
                                "Width": 24.0
                            }
                        ],
                        "MaxHeight": 23.0,
                        "MinTop": 812.0
                    },
                    {
                        "LineText": "分享助手",
                        "Words": [{
                                "WordText": "分",
                                "Left": 108.0,
                                "Top": 1068.0,
                                "Height": 38.0,
                                "Width": 39.0
                            },
                            {
                                "WordText": "享",
                                "Left": 148.0,
                                "Top": 1067.0,
                                "Height": 39.0,
                                "Width": 39.0
                            },
                            {
                                "WordText": "助",
                                "Left": 188.0,
                                "Top": 1068.0,
                                "Height": 38.0,
                                "Width": 37.0
                            },
                            {
                                "WordText": "手",
                                "Left": 228.0,
                                "Top": 1069.0,
                                "Height": 37.0,
                                "Width": 39.0
                            }
                        ],
                        "MaxHeight": 39.0,
                        "MinTop": 1067.0
                    },
                    {
                        "LineText": "扫描右侧二维码,即刻开启聊天>>>",
                        "Words": [{
                                "WordText": "扫",
                                "Left": 110.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": "描",
                                "Left": 134.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "右",
                                "Left": 158.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "侧",
                                "Left": 182.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": "二",
                                "Left": 206.0,
                                "Top": 1137.0,
                                "Height": 18.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "维",
                                "Left": 230.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "码",
                                "Left": 254.0,
                                "Top": 1135.0,
                                "Height": 22.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": ",",
                                "Left": 278.0,
                                "Top": 1151.0,
                                "Height": 6.0,
                                "Width": 3.0
                            },
                            {
                                "WordText": "即",
                                "Left": 284.0,
                                "Top": 1135.0,
                                "Height": 22.0,
                                "Width": 21.0
                            },
                            {
                                "WordText": "刻",
                                "Left": 307.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": "开",
                                "Left": 331.0,
                                "Top": 1136.0,
                                "Height": 21.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": "启",
                                "Left": 355.0,
                                "Top": 1134.0,
                                "Height": 23.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": "聊",
                                "Left": 379.0,
                                "Top": 1135.0,
                                "Height": 22.0,
                                "Width": 22.0
                            },
                            {
                                "WordText": "天",
                                "Left": 403.0,
                                "Top": 1135.0,
                                "Height": 22.0,
                                "Width": 23.0
                            },
                            {
                                "WordText": ">",
                                "Left": 436.0,
                                "Top": 1142.0,
                                "Height": 11.0,
                                "Width": 11.0
                            },
                            {
                                "WordText": ">",
                                "Left": 452.0,
                                "Top": 1142.0,
                                "Height": 11.0,
                                "Width": 11.0
                            },
                            {
                                "WordText": ">",
                                "Left": 469.0,
                                "Top": 1142.0,
                                "Height": 11.0,
                                "Width": 10.0
                            }
                        ],
                        "MaxHeight": 23.0,
                        "MinTop": 1134.0
                    },
                    {
                        "LineText": "回",
                        "Words": [{
                            "WordText": "回",
                            "Left": 604.0,
                            "Top": 1065.0,
                            "Height": 20.0,
                            "Width": 20.0
                        }],
                        "MaxHeight": 20.0,
                        "MinTop": 1065.0
                    },
                    {
                        "LineText": "回",
                        "Words": [{
                            "WordText": "回",
                            "Left": 692.0,
                            "Top": 1065.0,
                            "Height": 20.0,
                            "Width": 20.0
                        }],
                        "MaxHeight": 20.0,
                        "MinTop": 1065.0
                    }
                ],
                "HasOverlay": true,
                "Message": "Total lines: 9"
            },
            "TextOrientation": "0",
            "FileParseExitCode": 1,
            "ParsedText": "0奈斯APIA丨\r\n您最好的\r\nA《助手\r\n鱼聪明AI助手\r\n您的专属大聪明,欢迎和我聊天\r\n分享助手\r\n扫描右侧二维码,即刻开启聊天>>>\r\n回\r\n回\r\n",
            "ErrorMessage": "",
            "ErrorDetails": ""
        }],
        "OCRExitCode": 1,
        "IsErroredOnProcessing": false,
        "ProcessingTimeInMilliseconds": "2468",
        "SearchablePDFURL": "Searchable PDF not generated as it was not requested."
    }
}
    接口文档
  • POST识图文本

curl --location --request GET '/api/v1/apiboxes/send_api/ocr_image_text' \
--header 'Nice-Apikey: xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "xxx": "xxx",
  }'

发送请求

接入点:

POST

头部参数

请求参数

请求结果

"暂无返回内容"
avatar

奈斯猫

QQ联系:
869375583

推荐API

  • AI生成PPT

    AI生成PPT接口是一种先进的自动化工具,能够快速创建专业级演示文稿。该接口利用人工智能技术,根据用户输入的主题、关键词或大纲,自动生成结构完整、内容丰富的PPT。
  • AI视频内容总结

    通过AI技术识别BIlibili、youtube等知名视频站点内容,并且总结
  • 各大热榜

    热榜内容
  • ICP备案查询

    ICP备案查询
  • OCR识图

    识别图片文字内容 中英文皆可解析