Eden AI
  1. OCR FEATURES
Eden AI
  • 人工智能产品
    • AskYoDa
      • 列出项目
      • 检索项目
      • 创建项目
      • 添加文件
      • 添加文本
      • 添加网址
      • 询问 LLM
      • 删除块
      • 列出文件
      • 获取文件
      • 删除文件
      • 获取信息
      • 询问
      • 更新项目
      • 删除项目
    • TranslaThor
      • 列出所有 TranslaThor 项目
      • 创建语言提供者对
      • 列出语言
      • 更新语言
      • 删除语言
      • 翻译
      • 翻译
    • askyoda
      • /aiproducts/askyoda/v2/{project_id}/conversations/
      • /aiproducts/askyoda/v2/{project_id}/conversations/
      • /aiproducts/askyoda/v2/{project_id}/conversations/{conversation_id}/
      • /aiproducts/askyoda/v2/{project_id}/conversations/{conversation_id}/
      • /aiproducts/askyoda/v2/{project_id}/conversations/{conversation_id}/
      • /aiproducts/askyoda/v2/{project_id}/conversations/{conversation_id}/
    • X-Merge
      • 列出 XMerge 项目
      • 列出 doc_parser 项目
      • 创建doc_parser项目
      • 检索 doc_parser 项目
      • 更新 doc_parser 项目
      • 文档解析器启动调用
  • 信息
    • 列出提供商子功能
      GET
  • 音频功能
    • 语音转文本
      • 语音转文本列表作业
      • 语音转文本启动作业
      • 语音转文字删除职位
      • 语音转文本获取工作结果
    • 文本转语音
      • 文字转语音
    • 异步文本转语音
      • 文本转语音列表职位
      • 文本转语音启动作业
      • 文本转语音删除作业
      • 文本转语音获取作业结果
  • 翻译功能
    • 自动翻译
      POST
    • 文件翻译
      POST
    • 语言检测
      POST
  • 视频特点
    • 异步露骨内容检测
      • 视频露骨内容检测列表作业
      • 视频露骨内容检测启动作业
      • 视频露骨内容删除作业
      • 视频露骨内容检测获取作业结果
    • 异步人脸检测
      • 人脸检测列表作业
      • 人脸检测启动作业
      • 人脸检测删除作业
      • 人脸检测获取作业结果
    • 异步标签检测
      • 标签检测列表作业
      • 标签检测启动作业
      • 标签检测删除作业
      • 标签检测 获取作业结果
    • 异步徽标检测
      • 视频徽标检测列表作业
      • 视频标志检测启动作业
      • 视频标志检测删除作业
      • 视频标志检测 获取作业结果
    • 异步对象跟踪
      • 视频对象跟踪列表作业
      • 视频对象跟踪启动作业
      • 视频对象跟踪删除作业
      • 视频对象跟踪获取作业结果
    • 人员跟踪异步
      • 人员跟踪列表职位
      • 人员追踪启动作业
      • 人员追踪删除职位
      • 人员追踪 获取工作结果
    • 异步文本检测
      • 文本检测列表作业
      • 文本检测启动作业
      • 文本检测删除作业
      • 文本检测获取作业结果
  • 文字
    • Chat
      • Chat
      • Chat Stream
    • 代码生成
    • 匿名化
    • 代码生成
    • 自定义文本分类
    • 自定义命名实体识别
    • 嵌入
    • 情绪检测
    • Entity Sentiment
    • Generation
    • 关键词提取
    • Moderation
    • 命名实体识别
    • 抄袭检测
    • Prompt 优化
    • 问题解答
    • 搜索
    • 情感分析
    • 拼写检查
    • 总结
    • 语法分析
    • 主题提取
  • OCR FEATURES
    • 匿名化异步
      • 匿名化列表作业
      • 匿名启动作业
      • 匿名删除职位
      • 匿名获取工作结果
    • 自定义文档解析异步
      • 自定义文档解析列表作业
      • 自定义文档解析启动作业
      • 自定义文档解析删除作业
      • 自定义文档解析获取作业结果
    • Ocr Async
      • Ocr 异步列表作业
      • Ocr 异步启动作业
      • Ocr 异步删除作业
      • Ocr 异步获取作业结果
    • Ocr Tables Async
      • OCR 表列出作业
      • OCR 表启动作业
      • OCR 表删除作业
      • OCR 表获取作业结果
    • 银行支票解析
      POST
    • 数据提取
      POST
    • 金融解析器
      POST
    • 身份解析器
      POST
    • 发票解析器
      POST
    • OCR
      POST
    • 收据解析器
      POST
    • 简历解析器
      POST
  • 图像
    • Automl 分类
      • Automl 分类 - 创建项目
      • Automl 分类 - 删除项目
      • Automl 分类 - 列出项目
      • 自动分类预测列表作业
      • Automl 分类预测启动作业
      • Automl 分类 - 预测获取工作结果
      • Automl 分类列车列表作业
      • Automl 分类列车启动作业
      • Automl 分类 - 训练获取作业结果
      • 自动分类上传数据列表作业
      • 自动分类上传数据启动作业
      • Automl 分类 - 上传数据获取作业结果
    • 人脸识别
      • 人脸识别-添加人脸
      • 人脸识别-删除人脸
      • 人脸识别 - 列出人脸
      • 人脸识别 - 人脸识别
    • 搜索
      • 搜索-删除阶段
      • 搜索 - 获取图像
      • 搜索 - 列出所有图像
      • 搜索 - 启动相似度
      • 搜索 - 上传阶段
    • Anonymization
    • 背景去除
    • 嵌入
    • 露骨内容检测
    • 脸部对比
    • 人脸检测
    • 图像生成
    • 地标检测
    • Logo 检测
    • 物体检测
    • 问题解答
  • Batch
    • 获取批量作业结果
    • 启动批处理作业
    • 删除批处理作业
    • 列出批处理作业
  1. OCR FEATURES

OCR

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v2/ocr/ocr
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/ocr/ocr' \
--header 'Authorization;' \
--header 'content-type: application/json' \
--data-raw '{
  "response_as_dict": true,
  "attributes_as_list": false,
  "show_original_response": false
}'
响应示例响应示例
200 - 成功示例
{
  "google": {
    "text": "I 福州科技馆 福州科技馆空调线路改造项目工程 施工招标公告 招标项目福州科技馆空调线路改造项目工程已批准建设, 招标人为福州科技馆,建设资金来源自筹。项目已具备 招标条件,现对该项目的施工进行公开招标。 1.项目概况与招标范围 建设地点: 福州市仓山区橘园洲桥下公园内 工程招标控 制价: 29135 元;计划工期: 15日历天质量要求:合 按招标范围:详见工程量清单为准, 2. 投标人资格要求 2.1 投标人须具备人员,设备,资金等方面具有相应的设 计经验及施工能力。 2. 2 本次招标不接受联合体投标。 3. 投标报名、开标时间 投标报名截止时间至2018年12月4日12时00分,开标",
    "bounding_boxes": [
      {
        "text": "I",
        "left": 0.5178571428571429,
        "top": -0.004132231404958678,
        "width": 0,
        "height": 0.012396694214876033
      },
      {
        "text": "福州",
        "left": 0.13095238095238096,
        "top": 0.13429752066115702,
        "width": 0.22321428571428573,
        "height": 0.04338842975206612
      },
      {
        "text": "科技",
        "left": 0.46726190476190477,
        "top": 0.13429752066115702,
        "width": 0.2261904761904762,
        "height": 0.04338842975206612
      },
      {
        "text": "馆",
        "left": 0.8065476190476191,
        "top": 0.13429752066115702,
        "width": 0.05357142857142857,
        "height": 0.04338842975206612
      },
      {
        "text": "福州",
        "left": 0.20535714285714285,
        "top": 0.25413223140495866,
        "width": 0.0744047619047619,
        "height": 0.024793388429752067
      },
      {
        "text": "科技",
        "left": 0.28273809523809523,
        "top": 0.25413223140495866,
        "width": 0.0744047619047619,
        "height": 0.024793388429752067
      },
      {
        "text": "馆",
        "left": 0.3601190476190476,
        "top": 0.25413223140495866,
        "width": 0.03571428571428571,
        "height": 0.024793388429752067
      },
      {
        "text": "空调",
        "left": 0.39880952380952384,
        "top": 0.25413223140495866,
        "width": 0.07142857142857142,
        "height": 0.024793388429752067
      },
      {
        "text": "线路",
        "left": 0.47619047619047616,
        "top": 0.25413223140495866,
        "width": 0.07142857142857142,
        "height": 0.024793388429752067
      },
      {
        "text": "改造",
        "left": 0.5535714285714286,
        "top": 0.25413223140495866,
        "width": 0.07142857142857142,
        "height": 0.024793388429752067
      }
    ]
  },
  "clarifai": {
    "text": "HFXST HETA MT 1.5 T 29115 T 2 21 +I 2 3. 2018121200",
    "bounding_boxes": [
      {
        "text": "HFXST",
        "left": 0.21406248211860657,
        "top": 0.2548806965351105,
        "width": 0.5703125894069672,
        "height": 0.024945765733718872
      },
      {
        "text": "HETA",
        "left": 0.3828125,
        "top": 0.3101952373981476,
        "width": 0.2281249761581421,
        "height": 0.029284149408340454
      },
      {
        "text": "MT",
        "left": 0.18437500298023224,
        "top": 0.4078091084957123,
        "width": 0.6671874970197678,
        "height": 0.02060738205909729
      },
      {
        "text": "1.5",
        "left": 0.12656250596046448,
        "top": 0.5216919183731079,
        "width": 0.2906250059604645,
        "height": 0.018438279628753662
      },
      {
        "text": "T",
        "left": 0.18281249701976776,
        "top": 0.5650758743286133,
        "width": 0.6812499314546585,
        "height": 0.01843816041946411
      },
      {
        "text": "29115",
        "left": 0.12812499701976776,
        "top": 0.6030368804931641,
        "width": 0.7390625029802322,
        "height": 0.02169191837310791
      },
      {
        "text": "T",
        "left": 0.12656250596046448,
        "top": 0.6431670188903809,
        "width": 0.48749998211860657,
        "height": 0.021691977977752686
      },
      {
        "text": "2",
        "left": 0.12343750894069672,
        "top": 0.6811279654502869,
        "width": 0.23906250298023224,
        "height": 0.021691977977752686
      },
      {
        "text": "21",
        "left": 0.18125000596046448,
        "top": 0.7223426699638367,
        "width": 0.6828124225139618,
        "height": 0.018438220024108887
      },
      {
        "text": "+I",
        "left": 0.12812499701976776,
        "top": 0.7603037357330322,
        "width": 0.23125000298023224,
        "height": 0.02169191837310791
      }
    ]
  },
  "sentisight": {
    "text": "#   M  # # @ 4 {042547.E 14171 UM: 223SIL; ##IM: JLEA 0464 #rMh 12# 00 9.#7",
    "bounding_boxes": [
      {
        "text": "#   M  # # @",
        "left": 0.13095238095238096,
        "top": 0.19008264462809918,
        "width": 0.761904761904762,
        "height": 0.06611570247933884
      },
      {
        "text": "4",
        "left": 0.6160714285714286,
        "top": 0.4731404958677686,
        "width": 0.07738095238095233,
        "height": 0.028925619834710703
      },
      {
        "text": "{042547.E",
        "left": 0.1636904761904762,
        "top": 0.5475206611570248,
        "width": 0.26190476190476186,
        "height": 0.02892561983471076
      },
      {
        "text": "14171",
        "left": 0.7232142857142857,
        "top": 0.5929752066115702,
        "width": 0.15476190476190477,
        "height": 0.03305785123966942
      },
      {
        "text": "UM:",
        "left": 0.12202380952380952,
        "top": 0.6301652892561983,
        "width": 0.0773809523809524,
        "height": 0.028925619834710647
      },
      {
        "text": "223SIL; ##IM:",
        "left": 0.2113095238095238,
        "top": 0.6301652892561983,
        "width": 0.2678571428571429,
        "height": 0.028925619834710647
      },
      {
        "text": "JLEA",
        "left": 0.49107142857142855,
        "top": 0.6301652892561983,
        "width": 0.15476190476190482,
        "height": 0.028925619834710647
      },
      {
        "text": "0464",
        "left": 0.15178571428571427,
        "top": 0.8657024793388429,
        "width": 0.11904761904761904,
        "height": 0.028925619834710647
      },
      {
        "text": "#rMh",
        "left": 0.28869047619047616,
        "top": 0.8657024793388429,
        "width": 0.125,
        "height": 0.028925619834710647
      },
      {
        "text": "12# 00 9.#7",
        "left": 0.6577380952380952,
        "top": 0.9028925619834711,
        "width": 0.22023809523809523,
        "height": 0.02892561983471076
      }
    ]
  },
  "microsoft": {
    "text": "2. 2.2",
    "bounding_boxes": [
      {
        "text": "2.",
        "left": 0.12797619047619047,
        "top": 0.6838842975206612,
        "width": 0.017857142857142856,
        "height": 0.01652892561983471
      },
      {
        "text": "2.2",
        "left": 0.18154761904761904,
        "top": 0.8016528925619835,
        "width": 0.041666666666666664,
        "height": 0.01652892561983471
      }
    ]
  },
  "api4ai": {
    "text": "I\n福州科技馆\n福州科技馆空调线路改造项目工程\n施工招标公告\n招标项目福州科技馆空调线路改造项目工程已批准建设,\n招标人为福州科技馆,建设资金来源自筹。项目已具备\n招标条件,现对该项目的施工进行公开招标。\n1.项目概况与招标范围\n建设地点: 福州市仓山区橘园洲桥下公园内 工程招标控\n制价: 29135 元;计划工期: 15日历天质量要求:合\n按招标范围:详见工程量清单为准,\n2. 投标人资格要求\n2.1 投标人须具备人员,设备,资金等方面具有相应的设\n计经验及施工能力。\n2. 2 本次招标不接受联合体投标。\n3. 投标报名、开标时间\n投标报名截止时间至2018年12月4日12时00分,开标",
    "bounding_boxes": [
      {
        "text": "I\n福州科技馆\n福州科技馆空调线路改造项目工程\n施工招标公告\n招标项目福州科技馆空调线路改造项目工程已批准建设,\n招标人为福州科技馆,建设资金来源自筹。项目已具备\n招标条件,现对该项目的施工进行公开招标。\n1.项目概况与招标范围\n建设地点: 福州市仓山区橘园洲桥下公园内 工程招标控\n制价: 29135 元;计划工期: 15日历天质量要求:合\n按招标范围:详见工程量清单为准,\n2. 投标人资格要求\n2.1 投标人须具备人员,设备,资金等方面具有相应的设\n计经验及施工能力。\n2. 2 本次招标不接受联合体投标。\n3. 投标报名、开标时间\n投标报名截止时间至2018年12月4日12时00分,开标",
        "left": -0.004132231404958678,
        "top": 0.12202380952380952,
        "width": 0.7440476190476191,
        "height": 0.8987603305785123
      }
    ]
  },
  "amazon": {
    "text": "JH # . ****** are ***** . 1. ********* IN## : 29135  #RIM: **** $ # : ######### 2. ####### 2.1 . RE. *********** . 3. **** ######### 2018 *",
    "bounding_boxes": [
      {
        "text": "JH",
        "left": 0.3082338869571686,
        "top": 0.13518710434436798,
        "width": 0.04629765450954437,
        "height": 0.04273286834359169
      },
      {
        "text": "#",
        "left": 0.6437202095985413,
        "top": 0.13354769349098206,
        "width": 0.04994326829910278,
        "height": 0.044661857187747955
      },
      {
        "text": ".",
        "left": 0.250115305185318,
        "top": 0.44582700729370117,
        "width": 0.15961581468582153,
        "height": 0.023941639810800552
      },
      {
        "text": "******",
        "left": 0.4236774146556854,
        "top": 0.4461418688297272,
        "width": 0.16829903423786163,
        "height": 0.02276456542313099
      },
      {
        "text": "are",
        "left": 0.6215114593505859,
        "top": 0.44597354531288147,
        "width": 0.05179109424352646,
        "height": 0.02195529267191887
      },
      {
        "text": "*****",
        "left": 0.7265733480453491,
        "top": 0.4462999105453491,
        "width": 0.14002187550067902,
        "height": 0.021753868088126183
      },
      {
        "text": ".",
        "left": 0.12542514503002167,
        "top": 0.48515304923057556,
        "width": 0.12193533033132553,
        "height": 0.022544588893651962
      },
      {
        "text": "1.",
        "left": 0.12524548172950745,
        "top": 0.5207677483558655,
        "width": 0.022567208856344223,
        "height": 0.019478561356663704
      },
      {
        "text": "*********",
        "left": 0.16472700238227844,
        "top": 0.5190067887306213,
        "width": 0.2541719079017639,
        "height": 0.023697713389992714
      },
      {
        "text": "IN##",
        "left": 0.7296434044837952,
        "top": 0.5625028610229492,
        "width": 0.1382470726966858,
        "height": 0.022239895537495613
      }
    ]
  }
}

请求参数

Header 参数
content-type
string 
必需
示例值:
application/json
Authorization
string 
必需
默认值:
Bearer <your_key>
Body 参数application/json
response_as_dict
boolean 
可选
attributes_as_list
boolean 
可选
show_original_response
boolean 
可选
providers
string 
必需
它可以是数据将重定向到的一个(例如:'amazon'或'google')或多个提供商(例如:'amazon,microsoft,google'),以便获得处理后的结果。 还可以使用特定模型调用提供程序(例如:提供程序:'amazon/model1, amazon/model2, google/model3')
示例

返回响应

🟢200成功
application/json
Body
google
object 
必需
text
string 
必需
bounding_boxes
array [object {5}] 
必需
clarifai
object 
必需
text
string 
必需
bounding_boxes
array [object {5}] 
必需
sentisight
object 
必需
text
string 
必需
bounding_boxes
array [object {5}] 
必需
microsoft
object 
必需
text
string 
必需
bounding_boxes
array [object {5}] 
必需
api4ai
object 
必需
text
string 
必需
bounding_boxes
array [object {5}] 
必需
amazon
object 
必需
text
string 
必需
bounding_boxes
array [object {5}] 
必需
🟠400请求有误
修改于 2024-04-11 07:13:33
上一页
发票解析器
下一页
收据解析器
Built with