OCR接口全文识别高精版本地图片以及URL调用Python示例

本文涉及的产品
教育场景识别,教育场景识别 200次/月
车辆物流识别,车辆物流识别 200次/月
通用文字识别,通用文字识别 200次/月
简介: 官方完整项目似乎缺少了alibabacloud_darabonba_stream,直接导入项目,这边提示缺少依赖,后来手动导入后成功了

Step By Step

1.查看接口官方文档

全文识别高精版

可以现在openAPI中测试看看

image.png

2.添加依赖

pip install alibabacloud_ocr_api20210707==1.1.8
pip install alibabacloud-darabonba-stream

3.Python Code

# -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
import sys

from typing import List

from alibabacloud_ocr_api20210707.client import Client as ocr_api20210707Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_darabonba_stream.client import Client as StreamClient
from alibabacloud_ocr_api20210707 import models as ocr_api_20210707_models
from alibabacloud_tea_util import models as util_models
from alibabacloud_tea_util.client import Client as UtilClient


class Sample:
    def __init__(self):
        pass

    @staticmethod
    def create_client(
        access_key_id: str,
        access_key_secret: str,
    ) -> ocr_api20210707Client:
        """
        使用AK&SK初始化账号Client
        @param access_key_id:
        @param access_key_secret:
        @return: Client
        @throws Exception
        """
        config = open_api_models.Config(
            # 您的 AccessKey ID,
            access_key_id='ak',
            # 您的 AccessKey Secret,
            access_key_secret='sk'
        )
        # 访问的域名
        config.endpoint = f'ocr-api.cn-hangzhou.aliyuncs.com'
        return ocr_api20210707Client(config)

    @staticmethod
    def main(
        args: List[str],
    ) -> None:
        client = Sample.create_client('accessKeyId', 'accessKeySecret')
        #本地图片,需要安装额外的依赖库alibabacloud_darabonba_stream,直接点击下载完整工程即可看到所有依赖。
        body_syream = StreamClient.read_from_file_path('C:\\Users\\cnc\\Desktop\\TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg')
        print(str(body_syream))
        recognize_advanced_request = ocr_api_20210707_models.RecognizeAdvancedRequest(
            body=body_syream
        )

        #本地图片官方文档实际就是封装了open方法,直接用也可以,不需要导入alibabacloud_darabonba_stream
        # body_file =open('C:\\Users\\cnc\\Desktop\\TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg','rb')
        # recognize_advanced_request = ocr_api_20210707_models.RecognizeAdvancedRequest(
        #     body=body_file
        # )
        
        #使用url请求
        # recognize_advanced_request = ocr_api_20210707_models.RecognizeAdvancedRequest(
        #     url='https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg'
        # )
        runtime = util_models.RuntimeOptions()
        try:
            # 复制代码运行请自行打印 API 的返回值
            result = client.recognize_advanced_with_options(recognize_advanced_request, runtime)
            print(result.body)
        except Exception as error:
            # 如有需要,请打印 error
            UtilClient.assert_as_string(error.message)



if __name__ == '__main__':
    Sample.main(sys.argv[1:])

4.运行结果

{'Data': '{"algo_version":"f313bff00e12d8057abac99cd877565cbae4f2a4","content":"2017年河北区实验小学 姓名: 档案号:3067740 性别:女年龄:49岁 Page 9 of 11. 血流变 检查项目名称 检查结果 单位 参考范围 提示 全血高切相对指数 2.51 1.97-3.42 全血低切相对指数 10.44 8.11-14.21 全血粘度:低切(1/s) 14.52 mPa.S 13.79-17.91 全血粘度:低切(5/s) 7.04 mPa.S 6.81-8.53 全血粘度:中切(30/s) 4.41 mPa.S 4.29-5.45 全血粘度:高切(200/s) 3.48 mpa.s 3.36-4.32 血浆粘度 1.39 mPa.s 1.26-1.7 红细胞聚集指数 4.17 3.19-5.33 红细胞变形指数 0.81 0.53-1.11 红细胞刚性指数(TK) 3.97 2.16-6.93 红细胞压积 0.38 0.35-0.45 检验 张秋宇 审核 宋志强 体检日期2018-3-10 本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出 血脂4项 检查项目名称 检查结果 单位 参考范围 提示 总胆固醇(TC) 5.70 mmol/L 0-5.72 甘油三酯(TG) 1.86 mmol/L 0-1.70 高密度脂蛋白胆固醇(HDL-CHO) 1.29 mmol/L 0.91-1.8 低密度脂蛋白胆固醇(LDL-CH 0) 2.80 mmol/L 0-3.12 检验 韩晓娟 审核 赵娜 体检日期2018-3-10 本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出! 空腹血糖 检查项目名称 检查结果 单位 参考范围 提示 空腹血糖(FPG) 5.28 mmol/L 3.89-6.11 检验 韩晓娟 审核 赵娜 体检日期2018-3-10 本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出! 胆红素3项 检查项目名称 检查结果 单位 参考范围 提示 总胆红素(TB IL) 12.80 umol/L 3.42-20.5 间接胆红素(I BIL) 10.90 umol/L 0-17 直接胆红素(DB IL) 1.90 umol/L 0-6.84 检验 韩晓娟 审核 赵娜 体检日期2018-3-10 本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出! 民众体检中心 Page 9of1l ","height":3509,"orgHeight":3509,"orgWidth":2512,"prism_version":"1.0.9","prism_wnum":126,"prism_wordsInfo":[{"angle":-89,"direction":0,"height":541,"pos":[{"x":982,"y":223},{"x":1522,"y":223},{"x":1522,"y":266},{"x":982,"y":266}],"prob":99,"width":43,"word":"2017年河北区实验小学","x":1230,"y":-26},{"angle":-90,"direction":0,"height":116,"pos":[{"x":228,"y":291},{"x":344,"y":291},{"x":344,"y":335},{"x":228,"y":335}],"prob":99,"width":43,"word":"姓名:","x":264,"y":254},{"angle":-89,"direction":0,"height":448,"pos":[{"x":605,"y":295},{"x":1053,"y":295},{"x":1053,"y":335},{"x":605,"y":335}],"prob":99,"width":39,"word":"档案号:3067740","x":809,"y":90},{"angle":-90,"direction":0,"height":523,"pos":[{"x":1153,"y":295},{"x":1677,"y":295},{"x":1677,"y":338},{"x":1153,"y":338}],"prob":99,"width":43,"word":"性别:女年龄:49岁","x":1394,"y":55},{"angle":-1,"direction":0,"height":38,"pos":[{"x":1982,"y":302},{"x":2149,"y":297},{"x":2150,"y":335},{"x":1983,"y":340}],"prob":99,"width":167,"word":"Page 9 of","x":1983,"y":299},{"angle":-90,"direction":0,"height":78,"pos":[{"x":2174,"y":298},{"x":2252,"y":298},{"x":2252,"y":331},{"x":2174,"y":331}],"prob":99,"width":33,"word":"11.","x":2197,"y":276},{"angle":-88,"direction":0,"height":160,"pos":[{"x":225,"y":368},{"x":386,"y":373},{"x":384,"y":417},{"x":224,"y":413}],"prob":99,"width":45,"word":"血流变","x":282,"y":312},{"angle":-90,"direction":0,"height":322,"pos":[{"x":276,"y":452},{"x":597,"y":452},{"x":597,"y":499},{"x":276,"y":499}],"prob":99,"width":46,"word":"检查项目名称","x":414,"y":314},{"angle":-89,"direction":0,"height":215,"pos":[{"x":1002,"y":456},{"x":1217,"y":456},{"x":1217,"y":499},{"x":1002,"y":499}],"prob":99,"width":42,"word":"检查结果","x":1089,"y":369},{"angle":-90,"direction":0,"height":102,"pos":[{"x":1383,"y":456},{"x":1485,"y":456},{"x":1485,"y":499},{"x":1383,"y":499}],"prob":99,"width":43,"word":"单位","x":1412,"y":426},{"angle":-90,"direction":0,"height":208,"pos":[{"x":1862,"y":456},{"x":2071,"y":456},{"x":2071,"y":499},{"x":1862,"y":499}],"prob":99,"width":43,"word":"参考范围","x":1945,"y":373},{"angle":-90,"direction":0,"height":108,"pos":[{"x":2161,"y":452},{"x":2269,"y":452},{"x":2269,"y":499},{"x":2161,"y":499}],"prob":99,"width":45,"word":"提示","x":2192,"y":421},{"angle":-90,"direction":0,"height":266,"pos":[{"x":289,"y":531},{"x":556,"y":531},{"x":556,"y":567},{"x":289,"y":567}],"prob":99,"width":36,"word":"全血高切相对指数","x":405,"y":416},{"angle":-90,"direction":0,"height":68,"pos":[{"x":1064,"y":538},{"x":1132,"y":538},{"x":1132,"y":567},{"x":1064,"y":567}],"prob":99,"width":29,"word":"2.51","x":1083,"y":518},{"angle":-90,"direction":0,"height":153,"pos":[{"x":1900,"y":538},{"x":2054,"y":538},{"x":2054,"y":571},{"x":1900,"y":571}],"prob":99,"width":32,"word":"1.97-3.42","x":1961,"y":478},{"angle":-90,"direction":0,"height":263,"pos":[{"x":293,"y":607},{"x":556,"y":607},{"x":556,"y":639},{"x":293,"y":639}],"prob":99,"width":33,"word":"全血低切相对指数","x":408,"y":491},{"angle":-90,"direction":0,"height":89,"pos":[{"x":1064,"y":610},{"x":1152,"y":610},{"x":1152,"y":643},{"x":1064,"y":643}],"prob":99,"width":33,"word":"10.44","x":1092,"y":581},{"angle":-90,"direction":0,"height":174,"pos":[{"x":1890,"y":610},{"x":2064,"y":610},{"x":2064,"y":643},{"x":1890,"y":643}],"prob":99,"width":33,"word":"8.11-14.21","x":1960,"y":539},{"angle":-90,"direction":0,"height":311,"pos":[{"x":293,"y":678},{"x":604,"y":678},{"x":604,"y":711},{"x":293,"y":711}],"prob":99,"width":33,"word":"全血粘度:低切(1/s)","x":432,"y":539},{"angle":-90,"direction":0,"height":81,"pos":[{"x":1067,"y":682},{"x":1149,"y":682},{"x":1149,"y":715},{"x":1067,"y":715}],"prob":99,"width":33,"word":"14.52","x":1092,"y":657},{"angle":-90,"direction":0,"height":88,"pos":[{"x":1386,"y":685},{"x":1474,"y":685},{"x":1474,"y":715},{"x":1386,"y":715}],"prob":99,"width":29,"word":"mPa.S","x":1416,"y":656},{"angle":-90,"direction":0,"height":181,"pos":[{"x":1886,"y":682},{"x":2067,"y":682},{"x":2067,"y":715},{"x":1886,"y":715}],"prob":99,"width":33,"word":"13.79-17.91","x":1961,"y":608},{"angle":-90,"direction":0,"height":314,"pos":[{"x":289,"y":750},{"x":604,"y":750},{"x":604,"y":783},{"x":289,"y":783}],"prob":99,"width":33,"word":"全血粘度:低切(5/s)","x":430,"y":609},{"angle":-90,"direction":0,"height":72,"pos":[{"x":1064,"y":754},{"x":1135,"y":754},{"x":1135,"y":787},{"x":1064,"y":787}],"prob":99,"width":33,"word":"7.04","x":1083,"y":733},{"angle":-90,"direction":0,"height":88,"pos":[{"x":1386,"y":754},{"x":1474,"y":754},{"x":1474,"y":787},{"x":1386,"y":787}],"prob":99,"width":33,"word":"mPa.S","x":1414,"y":726},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1900,"y":754},{"x":2057,"y":754},{"x":2057,"y":787},{"x":1900,"y":787}],"prob":99,"width":33,"word":"6.81-8.53","x":1963,"y":692},{"angle":-90,"direction":0,"height":331,"pos":[{"x":289,"y":822},{"x":621,"y":822},{"x":621,"y":855},{"x":289,"y":855}],"prob":99,"width":32,"word":"全血粘度:中切(30/s)","x":439,"y":672},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":829},{"x":1132,"y":829},{"x":1132,"y":859},{"x":1061,"y":859}],"prob":99,"width":29,"word":"4.41","x":1082,"y":808},{"angle":-90,"direction":0,"height":88,"pos":[{"x":1386,"y":829},{"x":1474,"y":829},{"x":1474,"y":859},{"x":1386,"y":859}],"prob":99,"width":29,"word":"mPa.S","x":1416,"y":800},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1900,"y":829},{"x":2057,"y":829},{"x":2057,"y":859},{"x":1900,"y":859}],"prob":99,"width":29,"word":"4.29-5.45","x":1965,"y":766},{"angle":0,"direction":0,"height":36,"pos":[{"x":293,"y":894},{"x":635,"y":891},{"x":635,"y":926},{"x":293,"y":930}],"prob":99,"width":342,"word":"全血粘度:高切(200/s)","x":293,"y":891},{"angle":-90,"direction":0,"height":72,"pos":[{"x":1064,"y":898},{"x":1135,"y":898},{"x":1135,"y":931},{"x":1064,"y":931}],"prob":99,"width":33,"word":"3.48","x":1083,"y":877},{"angle":-90,"direction":0,"height":88,"pos":[{"x":1386,"y":901},{"x":1474,"y":901},{"x":1474,"y":931},{"x":1386,"y":931}],"prob":99,"width":29,"word":"mpa.s","x":1416,"y":872},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1900,"y":898},{"x":2057,"y":898},{"x":2057,"y":931},{"x":1900,"y":931}],"prob":99,"width":33,"word":"3.36-4.32","x":1963,"y":836},{"angle":-90,"direction":0,"height":122,"pos":[{"x":293,"y":966},{"x":415,"y":966},{"x":415,"y":999},{"x":293,"y":999}],"prob":99,"width":32,"word":"血浆粘度","x":337,"y":921},{"angle":-90,"direction":0,"height":72,"pos":[{"x":1064,"y":970},{"x":1135,"y":970},{"x":1135,"y":1003},{"x":1064,"y":1003}],"prob":99,"width":33,"word":"1.39","x":1083,"y":949},{"angle":-90,"direction":0,"height":88,"pos":[{"x":1386,"y":970},{"x":1474,"y":970},{"x":1474,"y":1003},{"x":1386,"y":1003}],"prob":99,"width":33,"word":"mPa.s","x":1414,"y":942},{"angle":-90,"direction":0,"height":136,"pos":[{"x":1910,"y":973},{"x":2047,"y":973},{"x":2047,"y":1006},{"x":1910,"y":1006}],"prob":99,"width":32,"word":"1.26-1.7","x":1963,"y":922},{"angle":-89,"direction":0,"height":232,"pos":[{"x":289,"y":1038},{"x":522,"y":1038},{"x":522,"y":1071},{"x":289,"y":1071}],"prob":99,"width":32,"word":"红细胞聚集指数","x":389,"y":938},{"angle":-90,"direction":0,"height":68,"pos":[{"x":1064,"y":1045},{"x":1132,"y":1045},{"x":1132,"y":1075},{"x":1064,"y":1075}],"prob":99,"width":29,"word":"4.17","x":1083,"y":1026},{"angle":-1,"direction":0,"height":33,"pos":[{"x":1900,"y":1045},{"x":2053,"y":1041},{"x":2054,"y":1074},{"x":1900,"y":1078}],"prob":99,"width":154,"word":"3.19-5.33","x":1900,"y":1043},{"angle":-89,"direction":0,"height":232,"pos":[{"x":289,"y":1110},{"x":522,"y":1110},{"x":522,"y":1143},{"x":289,"y":1143}],"prob":99,"width":32,"word":"红细胞变形指数","x":389,"y":1010},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":1117},{"x":1132,"y":1117},{"x":1132,"y":1146},{"x":1061,"y":1146}],"prob":99,"width":30,"word":"0.81","x":1081,"y":1096},{"angle":-90,"direction":0,"height":150,"pos":[{"x":1900,"y":1117},{"x":2050,"y":1117},{"x":2050,"y":1150},{"x":1900,"y":1150}],"prob":99,"width":33,"word":"0.53-1.11","x":1959,"y":1058},{"angle":-89,"direction":0,"height":318,"pos":[{"x":289,"y":1179},{"x":607,"y":1179},{"x":607,"y":1215},{"x":289,"y":1215}],"prob":99,"width":35,"word":"红细胞刚性指数(TK)","x":431,"y":1037},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":1185},{"x":1132,"y":1185},{"x":1132,"y":1218},{"x":1061,"y":1218}],"prob":99,"width":33,"word":"3.97","x":1080,"y":1167},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1897,"y":1189},{"x":2054,"y":1189},{"x":2054,"y":1222},{"x":1897,"y":1222}],"prob":99,"width":33,"word":"2.16-6.93","x":1959,"y":1127},{"angle":-90,"direction":0,"height":170,"pos":[{"x":286,"y":1254},{"x":457,"y":1254},{"x":457,"y":1287},{"x":286,"y":1287}],"prob":99,"width":32,"word":"红细胞压积","x":356,"y":1185},{"angle":-90,"direction":0,"height":75,"pos":[{"x":1061,"y":1257},{"x":1135,"y":1257},{"x":1135,"y":1287},{"x":1061,"y":1287}],"prob":99,"width":29,"word":"0.38","x":1084,"y":1235},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1900,"y":1257},{"x":2057,"y":1257},{"x":2057,"y":1290},{"x":1900,"y":1290}],"prob":99,"width":33,"word":"0.35-0.45","x":1963,"y":1196},{"angle":-90,"direction":0,"height":99,"pos":[{"x":893,"y":1319},{"x":991,"y":1319},{"x":991,"y":1359},{"x":893,"y":1359}],"prob":99,"width":39,"word":"检验","x":923,"y":1290},{"angle":-90,"direction":0,"height":146,"pos":[{"x":1043,"y":1319},{"x":1190,"y":1319},{"x":1190,"y":1359},{"x":1043,"y":1359}],"prob":99,"width":39,"word":"张秋宇","x":1097,"y":1266},{"angle":-90,"direction":0,"height":98,"pos":[{"x":1297,"y":1319},{"x":1396,"y":1319},{"x":1396,"y":1359},{"x":1297,"y":1359}],"prob":99,"width":39,"word":"审核","x":1327,"y":1290},{"angle":-90,"direction":0,"height":147,"pos":[{"x":1448,"y":1319},{"x":1594,"y":1319},{"x":1594,"y":1362},{"x":1448,"y":1362}],"prob":99,"width":43,"word":"宋志强","x":1500,"y":1268},{"angle":-90,"direction":0,"height":451,"pos":[{"x":1701,"y":1319},{"x":2153,"y":1319},{"x":2153,"y":1362},{"x":1701,"y":1362}],"prob":99,"width":43,"word":"体检日期2018-3-10","x":1906,"y":1116},{"angle":-90,"direction":0,"height":1620,"pos":[{"x":577,"y":1391},{"x":2198,"y":1391},{"x":2198,"y":1434},{"x":577,"y":1434}],"prob":99,"width":43,"word":"本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出","x":1366,"y":603},{"angle":-90,"direction":0,"height":184,"pos":[{"x":224,"y":1470},{"x":409,"y":1470},{"x":409,"y":1510},{"x":224,"y":1510}],"prob":99,"width":40,"word":"血脂4项","x":297,"y":1397},{"angle":-89,"direction":0,"height":319,"pos":[{"x":276,"y":1548},{"x":594,"y":1552},{"x":594,"y":1597},{"x":275,"y":1593}],"prob":99,"width":44,"word":"检查项目名称","x":413,"y":1412},{"angle":-90,"direction":0,"height":215,"pos":[{"x":999,"y":1555},{"x":1214,"y":1555},{"x":1214,"y":1599},{"x":999,"y":1599}],"prob":99,"width":43,"word":"检查结果","x":1085,"y":1470},{"angle":-90,"direction":0,"height":105,"pos":[{"x":1379,"y":1555},{"x":1485,"y":1555},{"x":1485,"y":1599},{"x":1379,"y":1599}],"prob":99,"width":43,"word":"单位","x":1411,"y":1525},{"angle":-90,"direction":0,"height":212,"pos":[{"x":1856,"y":1555},{"x":2067,"y":1555},{"x":2067,"y":1599},{"x":1856,"y":1599}],"prob":99,"width":43,"word":"参考范围","x":1940,"y":1471},{"angle":-87,"direction":0,"height":107,"pos":[{"x":2158,"y":1556},{"x":2264,"y":1560},{"x":2262,"y":1603},{"x":2156,"y":1598}],"prob":99,"width":43,"word":"提示","x":2188,"y":1526},{"angle":-88,"direction":0,"height":216,"pos":[{"x":290,"y":1626},{"x":505,"y":1631},{"x":504,"y":1665},{"x":289,"y":1660}],"prob":99,"width":35,"word":"总胆固醇(TC)","x":379,"y":1537},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":1634},{"x":1132,"y":1634},{"x":1132,"y":1667},{"x":1061,"y":1667}],"prob":99,"width":33,"word":"5.70","x":1080,"y":1616},{"angle":-3,"direction":0,"height":34,"pos":[{"x":1385,"y":1639},{"x":1488,"y":1633},{"x":1489,"y":1667},{"x":1387,"y":1672}],"prob":99,"width":103,"word":"mmol/L","x":1385,"y":1635},{"angle":-90,"direction":0,"height":106,"pos":[{"x":1921,"y":1638},{"x":2026,"y":1638},{"x":2026,"y":1671},{"x":1921,"y":1671}],"prob":96,"width":33,"word":"0-5.72","x":1957,"y":1601},{"angle":-89,"direction":0,"height":215,"pos":[{"x":289,"y":1699},{"x":505,"y":1699},{"x":505,"y":1732},{"x":289,"y":1732}],"prob":99,"width":32,"word":"甘油三酯(TG)","x":381,"y":1608},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":1706},{"x":1132,"y":1706},{"x":1132,"y":1739},{"x":1061,"y":1739}],"prob":99,"width":33,"word":"1.86","x":1080,"y":1688},{"angle":-2,"direction":0,"height":31,"pos":[{"x":1382,"y":1712},{"x":1488,"y":1707},{"x":1489,"y":1739},{"x":1383,"y":1744}],"prob":99,"width":106,"word":"mmol/L","x":1382,"y":1710},{"angle":-90,"direction":0,"height":106,"pos":[{"x":1921,"y":1710},{"x":2026,"y":1710},{"x":2026,"y":1743},{"x":1921,"y":1743}],"prob":99,"width":33,"word":"0-1.70","x":1957,"y":1673},{"angle":-89,"direction":0,"height":468,"pos":[{"x":286,"y":1771},{"x":755,"y":1771},{"x":755,"y":1808},{"x":286,"y":1808}],"prob":99,"width":35,"word":"高密度脂蛋白胆固醇(HDL-CHO)","x":503,"y":1555},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":1778},{"x":1132,"y":1778},{"x":1132,"y":1811},{"x":1061,"y":1811}],"prob":99,"width":33,"word":"1.29","x":1080,"y":1760},{"angle":-90,"direction":0,"height":106,"pos":[{"x":1383,"y":1782},{"x":1488,"y":1782},{"x":1488,"y":1814},{"x":1383,"y":1814}],"prob":99,"width":33,"word":"mmol/L","x":1419,"y":1745},{"angle":-90,"direction":0,"height":143,"pos":[{"x":1904,"y":1782},{"x":2047,"y":1782},{"x":2047,"y":1814},{"x":1904,"y":1814}],"prob":99,"width":33,"word":"0.91-1.8","x":1959,"y":1727},{"angle":-89,"direction":0,"height":468,"pos":[{"x":286,"y":1843},{"x":755,"y":1843},{"x":755,"y":1880},{"x":286,"y":1880}],"prob":96,"width":35,"word":"低密度脂蛋白胆固醇(LDL-CH 0)","x":503,"y":1627},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":1850},{"x":1132,"y":1850},{"x":1132,"y":1883},{"x":1061,"y":1883}],"prob":99,"width":32,"word":"2.80","x":1080,"y":1831},{"angle":-2,"direction":0,"height":33,"pos":[{"x":1378,"y":1854},{"x":1488,"y":1849},{"x":1489,"y":1883},{"x":1380,"y":1888}],"prob":99,"width":110,"word":"mmol/L","x":1379,"y":1852},{"angle":-90,"direction":0,"height":112,"pos":[{"x":1917,"y":1854},{"x":2030,"y":1854},{"x":2030,"y":1886},{"x":1917,"y":1886}],"prob":99,"width":33,"word":"0-3.12","x":1957,"y":1814},{"angle":-90,"direction":0,"height":95,"pos":[{"x":944,"y":1912},{"x":1039,"y":1912},{"x":1039,"y":1951},{"x":944,"y":1951}],"prob":99,"width":40,"word":"检验","x":972,"y":1884},{"angle":-90,"direction":0,"height":160,"pos":[{"x":1081,"y":1912},{"x":1241,"y":1912},{"x":1241,"y":1955},{"x":1081,"y":1955}],"prob":99,"width":43,"word":"韩晓娟","x":1140,"y":1853},{"angle":-90,"direction":0,"height":98,"pos":[{"x":1345,"y":1912},{"x":1444,"y":1912},{"x":1444,"y":1951},{"x":1345,"y":1951}],"prob":99,"width":40,"word":"审核","x":1375,"y":1883},{"angle":-90,"direction":0,"height":106,"pos":[{"x":1489,"y":1912},{"x":1594,"y":1912},{"x":1594,"y":1951},{"x":1489,"y":1951}],"prob":99,"width":40,"word":"赵娜","x":1522,"y":1879},{"angle":-90,"direction":0,"height":448,"pos":[{"x":1701,"y":1912},{"x":2150,"y":1912},{"x":2150,"y":1955},{"x":1701,"y":1955}],"prob":99,"width":43,"word":"体检日期2018-3-10","x":1904,"y":1709},{"angle":-89,"direction":0,"height":1624,"pos":[{"x":577,"y":1977},{"x":2201,"y":1985},{"x":2201,"y":2030},{"x":577,"y":2023}],"prob":99,"width":45,"word":"本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出!","x":1367,"y":1191},{"angle":-90,"direction":0,"height":216,"pos":[{"x":221,"y":2059},{"x":436,"y":2059},{"x":436,"y":2102},{"x":221,"y":2102}],"prob":99,"width":43,"word":"空腹血糖","x":306,"y":1972},{"angle":-90,"direction":0,"height":320,"pos":[{"x":272,"y":2145},{"x":594,"y":2145},{"x":594,"y":2188},{"x":272,"y":2188}],"prob":99,"width":42,"word":"检查项目名称","x":410,"y":2004},{"angle":-88,"direction":0,"height":210,"pos":[{"x":1003,"y":2142},{"x":1211,"y":2146},{"x":1210,"y":2192},{"x":1002,"y":2188}],"prob":99,"width":46,"word":"检查结果","x":1083,"y":2061},{"angle":-90,"direction":0,"height":102,"pos":[{"x":1376,"y":2148},{"x":1478,"y":2148},{"x":1478,"y":2188},{"x":1376,"y":2188}],"prob":99,"width":39,"word":"单位","x":1407,"y":2117},{"angle":-90,"direction":0,"height":211,"pos":[{"x":1852,"y":2148},{"x":2064,"y":2148},{"x":2064,"y":2191},{"x":1852,"y":2191}],"prob":99,"width":43,"word":"参考范围","x":1937,"y":2065},{"angle":-90,"direction":0,"height":108,"pos":[{"x":2154,"y":2148},{"x":2263,"y":2148},{"x":2263,"y":2191},{"x":2154,"y":2191}],"prob":99,"width":42,"word":"提示","x":2186,"y":2115},{"angle":-1,"direction":0,"height":35,"pos":[{"x":282,"y":2221},{"x":518,"y":2217},{"x":519,"y":2253},{"x":283,"y":2257}],"prob":99,"width":236,"word":"空腹血糖(FPG)","x":281,"y":2218},{"angle":-90,"direction":0,"height":74,"pos":[{"x":1057,"y":2227},{"x":1132,"y":2227},{"x":1132,"y":2260},{"x":1057,"y":2260}],"prob":99,"width":33,"word":"5.28","x":1078,"y":2206},{"angle":-3,"direction":0,"height":34,"pos":[{"x":1378,"y":2231},{"x":1488,"y":2225},{"x":1489,"y":2259},{"x":1380,"y":2265}],"prob":99,"width":109,"word":"mmol/L","x":1379,"y":2228},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1893,"y":2230},{"x":2050,"y":2230},{"x":2050,"y":2263},{"x":1893,"y":2263}],"prob":99,"width":33,"word":"3.89-6.11","x":1956,"y":2169},{"angle":-90,"direction":0,"height":100,"pos":[{"x":941,"y":2309},{"x":1039,"y":2309},{"x":1039,"y":2349},{"x":941,"y":2349}],"prob":99,"width":39,"word":"检验","x":970,"y":2279},{"angle":-90,"direction":0,"height":157,"pos":[{"x":1081,"y":2309},{"x":1238,"y":2309},{"x":1238,"y":2352},{"x":1081,"y":2352}],"prob":99,"width":43,"word":"韩晓娟","x":1138,"y":2253},{"angle":-90,"direction":0,"height":96,"pos":[{"x":1345,"y":2309},{"x":1440,"y":2309},{"x":1440,"y":2352},{"x":1345,"y":2352}],"prob":99,"width":43,"word":"审核","x":1371,"y":2283},{"angle":-90,"direction":0,"height":107,"pos":[{"x":1489,"y":2309},{"x":1594,"y":2309},{"x":1594,"y":2352},{"x":1489,"y":2352}],"prob":99,"width":43,"word":"赵娜","x":1520,"y":2278},{"angle":-89,"direction":0,"height":453,"pos":[{"x":1698,"y":2310},{"x":2150,"y":2316},{"x":2149,"y":2359},{"x":1698,"y":2353}],"prob":99,"width":43,"word":"体检日期2018-3-10","x":1902,"y":2107},{"angle":-89,"direction":0,"height":1625,"pos":[{"x":574,"y":2375},{"x":2198,"y":2382},{"x":2197,"y":2427},{"x":574,"y":2421}],"prob":99,"width":45,"word":"本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出!","x":1362,"y":1588},{"angle":-90,"direction":0,"height":240,"pos":[{"x":221,"y":2460},{"x":460,"y":2460},{"x":460,"y":2503},{"x":221,"y":2503}],"prob":99,"width":44,"word":"胆红素3项","x":318,"y":2361},{"angle":-90,"direction":0,"height":322,"pos":[{"x":269,"y":2542},{"x":590,"y":2542},{"x":590,"y":2585},{"x":269,"y":2585}],"prob":99,"width":43,"word":"检查项目名称","x":407,"y":2402},{"angle":-88,"direction":0,"height":208,"pos":[{"x":999,"y":2539},{"x":1208,"y":2544},{"x":1207,"y":2590},{"x":998,"y":2585}],"prob":99,"width":46,"word":"检查结果","x":1079,"y":2461},{"angle":-90,"direction":0,"height":102,"pos":[{"x":1376,"y":2546},{"x":1478,"y":2546},{"x":1478,"y":2589},{"x":1376,"y":2589}],"prob":99,"width":43,"word":"单位","x":1404,"y":2516},{"angle":-90,"direction":0,"height":208,"pos":[{"x":1852,"y":2546},{"x":2060,"y":2546},{"x":2060,"y":2589},{"x":1852,"y":2589}],"prob":99,"width":42,"word":"参考范围","x":1935,"y":2462},{"angle":-90,"direction":0,"height":106,"pos":[{"x":2154,"y":2549},{"x":2259,"y":2549},{"x":2259,"y":2589},{"x":2154,"y":2589}],"prob":99,"width":40,"word":"提示","x":2187,"y":2516},{"angle":-90,"direction":0,"height":250,"pos":[{"x":283,"y":2621},{"x":532,"y":2621},{"x":532,"y":2654},{"x":283,"y":2654}],"prob":99,"width":33,"word":"总胆红素(TB IL)","x":390,"y":2511},{"angle":-90,"direction":0,"height":85,"pos":[{"x":1061,"y":2624},{"x":1145,"y":2624},{"x":1145,"y":2657},{"x":1061,"y":2657}],"prob":99,"width":33,"word":"12.80","x":1086,"y":2599},{"angle":-4,"direction":0,"height":35,"pos":[{"x":1378,"y":2630},{"x":1484,"y":2622},{"x":1486,"y":2657},{"x":1380,"y":2664}],"prob":99,"width":106,"word":"umol/L","x":1378,"y":2625},{"angle":-90,"direction":0,"height":162,"pos":[{"x":1890,"y":2628},{"x":2050,"y":2628},{"x":2050,"y":2661},{"x":1890,"y":2661}],"prob":99,"width":33,"word":"3.42-20.5","x":1953,"y":2563},{"angle":-90,"direction":0,"height":283,"pos":[{"x":286,"y":2693},{"x":570,"y":2693},{"x":570,"y":2726},{"x":286,"y":2726}],"prob":99,"width":33,"word":"间接胆红素(I BIL)","x":411,"y":2567},{"angle":-90,"direction":0,"height":85,"pos":[{"x":1061,"y":2696},{"x":1145,"y":2696},{"x":1145,"y":2729},{"x":1061,"y":2729}],"prob":99,"width":33,"word":"10.90","x":1086,"y":2671},{"angle":-4,"direction":0,"height":34,"pos":[{"x":1377,"y":2704},{"x":1484,"y":2694},{"x":1487,"y":2728},{"x":1380,"y":2738}],"prob":99,"width":106,"word":"umol/L","x":1378,"y":2699},{"angle":-90,"direction":0,"height":75,"pos":[{"x":1934,"y":2700},{"x":2009,"y":2700},{"x":2009,"y":2733},{"x":1934,"y":2733}],"prob":99,"width":33,"word":"0-17","x":1955,"y":2679},{"angle":-90,"direction":0,"height":287,"pos":[{"x":283,"y":2765},{"x":570,"y":2765},{"x":570,"y":2798},{"x":283,"y":2798}],"prob":99,"width":33,"word":"直接胆红素(DB IL)","x":409,"y":2637},{"angle":-90,"direction":0,"height":71,"pos":[{"x":1061,"y":2768},{"x":1132,"y":2768},{"x":1132,"y":2801},{"x":1061,"y":2801}],"prob":99,"width":33,"word":"1.90","x":1079,"y":2750},{"angle":-2,"direction":0,"height":34,"pos":[{"x":1375,"y":2772},{"x":1487,"y":2767},{"x":1489,"y":2801},{"x":1376,"y":2805}],"prob":99,"width":113,"word":"umol/L","x":1374,"y":2769},{"angle":-90,"direction":0,"height":108,"pos":[{"x":1914,"y":2772},{"x":2023,"y":2772},{"x":2023,"y":2805},{"x":1914,"y":2805}],"prob":99,"width":32,"word":"0-6.84","x":1951,"y":2733},{"angle":-90,"direction":0,"height":98,"pos":[{"x":937,"y":2830},{"x":1036,"y":2830},{"x":1036,"y":2870},{"x":937,"y":2870}],"prob":99,"width":40,"word":"检验","x":966,"y":2801},{"angle":-90,"direction":0,"height":147,"pos":[{"x":1088,"y":2830},{"x":1235,"y":2830},{"x":1235,"y":2873},{"x":1088,"y":2873}],"prob":99,"width":44,"word":"韩晓娟","x":1138,"y":2778},{"angle":-90,"direction":0,"height":99,"pos":[{"x":1342,"y":2830},{"x":1440,"y":2830},{"x":1440,"y":2873},{"x":1342,"y":2873}],"prob":99,"width":44,"word":"审核","x":1368,"y":2802},{"angle":-90,"direction":0,"height":122,"pos":[{"x":1472,"y":2830},{"x":1594,"y":2830},{"x":1594,"y":2873},{"x":1472,"y":2873}],"prob":99,"width":43,"word":"赵娜","x":1510,"y":2790},{"angle":-90,"direction":0,"height":452,"pos":[{"x":1695,"y":2833},{"x":2146,"y":2833},{"x":2146,"y":2873},{"x":1695,"y":2873}],"prob":99,"width":40,"word":"体检日期2018-3-10","x":1900,"y":2628},{"angle":-89,"direction":0,"height":1624,"pos":[{"x":574,"y":2898},{"x":2198,"y":2902},{"x":2197,"y":2946},{"x":574,"y":2941}],"prob":99,"width":42,"word":"本结果仅对本次标本负责,供临床参考,如有疑问请在标本保存期内提出!","x":1363,"y":2109},{"angle":-90,"direction":0,"height":274,"pos":[{"x":252,"y":3251},{"x":525,"y":3251},{"x":525,"y":3291},{"x":252,"y":3291}],"prob":99,"width":39,"word":"民众体检中心","x":368,"y":3133},{"angle":0,"direction":0,"height":37,"pos":[{"x":1968,"y":3248},{"x":2201,"y":3244},{"x":2201,"y":3281},{"x":1969,"y":3285}],"prob":99,"width":233,"word":"Page 9of1l","x":1967,"y":3246}],"width":2512}', 'RequestId': '6EB7905E-847A-58EB-ABCE-9B355F7D65A1'}
目录
相关文章
|
28天前
|
Java
Java开发实现图片URL地址检验,如何编码?
【10月更文挑战第14天】Java开发实现图片URL地址检验,如何编码?
59 4
|
4月前
|
文字识别 API
印刷文字识别操作报错合集之接口返回错误“数组越界”时,该怎么办
在使用印刷文字识别(OCR)服务时,可能会遇到各种错误。例如:1.Java异常、2.配置文件错误、3.服务未开通、4.HTTP错误码、5.权限问题(403 Forbidden)、6.调用拒绝(Refused)、7.智能纠错问题、8.图片质量或格式问题,以下是一些常见错误及其可能的原因和解决方案的合集。
|
2月前
|
数据采集 存储 前端开发
Java爬虫开发:Jsoup库在图片URL提取中的实战应用
Java爬虫开发:Jsoup库在图片URL提取中的实战应用
|
3月前
|
开发框架 文字识别 前端开发
基于百度智能云的OCR接口进行图文识别
基于百度智能云的OCR接口进行图文识别
|
4月前
|
机器学习/深度学习 数据采集 算法
Python基于OpenCV和卷积神经网络CNN进行车牌号码识别项目实战
Python基于OpenCV和卷积神经网络CNN进行车牌号码识别项目实战
284 19
|
4月前
|
机器学习/深度学习 TensorFlow 数据处理
使用Python实现深度学习模型:医学影像识别与疾病预测
【7月更文挑战第24天】 使用Python实现深度学习模型:医学影像识别与疾病预测
68 4
|
4月前
|
机器学习/深度学习 数据采集 监控
Python基于BP神经网络算法实现家用热水器用户行为分析与事件识别
Python基于BP神经网络算法实现家用热水器用户行为分析与事件识别
104 2
|
4月前
|
文字识别 新能源
文本,文字识别14,身份证和车牌识别接口
文本,文字识别14,身份证和车牌识别接口
|
4月前
|
文字识别 前端开发 Java
印刷文字识别使用问题之如何使用Python SDK来上传图片并获取识别结果
印刷文字识别产品,通常称为OCR(Optical Character Recognition)技术,是一种将图像中的印刷或手写文字转换为机器编码文本的过程。这项技术广泛应用于多个行业和场景中,显著提升文档处理、信息提取和数据录入的效率。以下是印刷文字识别产品的一些典型使用合集。
|
4月前
|
文字识别 测试技术
印刷文字识别使用问题之表格识别的接口RT很慢,是什么原因
印刷文字识别产品,通常称为OCR(Optical Character Recognition)技术,是一种将图像中的印刷或手写文字转换为机器编码文本的过程。这项技术广泛应用于多个行业和场景中,显著提升文档处理、信息提取和数据录入的效率。以下是印刷文字识别产品的一些典型使用合集。