Skip to main content

eoffcn ai api.

Project description

ocr_api

xf = XunFei(appid="xxx", api_key="xxxxxxxxx")
status, result = xf.get("./image/2.5.2.jpg", product="handwriting", code_key="code", right_value="0")
baidu = Baidu(client_id="xxxxxx", client_secret="xxxxxxx")
status, result = baidu.get("../image/2.5.3.jpg", product="handwriting", code_key="error_code")
aliyun = Aliyun(appcode="xxxxxxxxxx")
result = aliyun.get("../image/2.5.3.jpg", "handwriting", code_key="error_code")

image

0.1.3: 新增二维码识别, 需要有java或php环境

tool

get_value()             v0.1.2  获取嵌套字典或列表对应位置的值
amount_conversion()     v0.1.3  将大写数字转换为数值

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eoffcn_ai-0.1.6.tar.gz (3.7 MB view details)

Uploaded Source

File details

Details for the file eoffcn_ai-0.1.6.tar.gz.

File metadata

  • Download URL: eoffcn_ai-0.1.6.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.4

File hashes

Hashes for eoffcn_ai-0.1.6.tar.gz
Algorithm Hash digest
SHA256 41e2bbe60d7cc97fe0d3ef27be8a7ec277367b199007d4d76885037539be1d87
MD5 a693a16a82f6a1ead0fc2540cbb05263
BLAKE2b-256 98c3667eb887fc3faaa74c5963e86609b254abe345352eca3cf49cbe081805f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page