👉 项目官网:https://www.python-office.com/ 👈
👉 本开源项目的交流群 👈
📚简介
potencent 是快速调用腾讯云AI平台功能的接口合集。
📦安装
🍊pip 自动下载&更新
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple potencent -U
📝功能
📘官网:https://www.python-office.com/
通用文字识别相关接口
| 接口名称 | 接口功能 |
|---|---|
| AdvertiseOCR | 广告文字识别 |
| GeneralBasicOCR | 通用印刷体识别 |
| ImageEnhancement | 文本图像增强 |
| RecognizeHealthCodeOCR | 健康码识别 |
| RecognizeTravelCardOCR | 通信行程卡识别 |
| GeneralAccurateOCR | 通用印刷体识别(高精度版) |
| GeneralEfficientOCR | 通用印刷体识别(精简版) |
| GeneralFastOCR | 通用印刷体识别(高速版) |
| EnglishOCR | 英文识别 |
| GeneralHandwritingOCR | 通用手写体识别 |
| TextDetect | 快速文本检测 |
卡证文字识别相关接口
| 接口名称 | 接口功能 |
|---|---|
| BankCardOCR | 银行卡识别 |
| BizLicenseOCR | 营业执照识别 |
| BusinessCardOCR | 名片识别 |
| ClassifyDetectOCR | 智能卡证分类 |
| EnterpriseLicenseOCR | 企业证照识别 |
| EstateCertOCR | 不动产权证识别 |
| HKIDCardOCR | 中国香港身份证识别 |
| HmtResidentPermitOCR | 港澳台居住证识别 |
| IDCardOCR | 身份证识别 |
| InstitutionOCR | 事业单位法人证书识别 |
| MLIDCardOCR | 马来西亚身份证识别 |
| MLIDPassportOCR | 护照识别(港澳台地区及境外护照) |
| MainlandPermitOCR | 港澳台来往内地通行证识别 |
| OrgCodeCertOCR | 组织机构代码证识别 |
| PassportOCR | 护照识别(中国大陆地区护照) |
| PermitOCR | 港澳台通行证识别 |
| PropOwnerCertOCR | 房产证识别 |
| RecognizeIndonesiaIDCardOCR | 印尼身份证识别 |
| RecognizePhilippinesDrivingLicenseOCR | 菲律宾驾驶证识别 |
| RecognizePhilippinesVoteIDOCR | 菲律宾VoteID识别 |
| RecognizeThaiIDCardOCR | 泰国身份证识别 |
| ResidenceBookletOCR | 户口本识别 |
票据单据识别相关接口
| 接口名称 | 接口功能 |
|---|---|
| BankSlipOCR | 银行回单识别 |
| BusInvoiceOCR | 汽车票识别 |
| CarInvoiceOCR | 购车发票识别 |
| DutyPaidProofOCR | 完税证明识别 |
| FinanBillOCR | 金融票据整单识别 |
| FinanBillSliceOCR | 金融票据切片识别 |
| FlightInvoiceOCR | 机票行程单识别 |
| InvoiceGeneralOCR | 通用机打发票识别 |
| MixedInvoiceDetect | 混贴票据分类 |
| MixedInvoiceOCR | 混贴票据识别 |
| QuotaInvoiceOCR | 定额发票识别 |
| RecognizeContainerOCR | 集装箱识别 |
| RecognizeMedicalInvoiceOCR | 医疗票据识别 |
| RecognizeOnlineTaxiItineraryOCR | 网约车行程单识别 |
| ShipInvoiceOCR | 轮船票识别 |
| TaxiInvoiceOCR | 出租车发票识别 |
| TollInvoiceOCR | 过路过桥费发票识别 |
| TrainTicketOCR | 火车票识别 |
| VatInvoiceOCR | 增值税发票识别 |
| VatRollInvoiceOCR | 增值税发票(卷票)识别 |
| VerifyOfdVatInvoiceOCR | OFD发票识别 |
| WaybillOCR | 运单识别 |
汽车场景识别相关接口
| 接口名称 | 接口功能 |
|---|---|
| DriverLicenseOCR | 驾驶证识别 |
| LicensePlateOCR | 车牌识别 |
| RideHailingDriverLicenseOCR | 网约车驾驶证识别 |
| RideHailingTransportLicenseOCR | 网约车运输证识别 |
| VehicleLicenseOCR | 行驶证识别 |
| VehicleRegCertOCR | 机动车登记证书识别 |
| VinOCR | 车辆VIN码识别 |
行业文档识别相关接口
| 接口名称 | 接口功能 |
|---|---|
| RecognizeTableOCR | 表格识别(V2) |
| ArithmeticOCR | 算式识别 |
| EduPaperOCR | 数学试题识别 |
| FormulaOCR | 数学公式识别 |
| InsuranceBillOCR | 保险单据识别 |
| SealOCR | 印章识别 |
| SmartStructuralOCR | 智能结构化识别 |
| TableOCR | 表格识别(V1) |
智能扫码相关接口
| 接口名称 | 接口功能 |
|---|---|
| QueryBarCode | 条码信息查询 |
| QrcodeOCR | 二维码和条形码识别 |
营业执照核验相关接口
| 接口名称 | 接口功能 |
|---|---|
| VerifyBasicBizLicense | 营业执照识别及核验(基础版) |
| VerifyBizLicense | 营业执照识别及核验(详细版) |
| VerifyEnterpriseFourFactors | 企业四要素核验 |
增值税发票核验相关接口
| 接口名称 | 接口功能 |
|---|---|
| VatInvoiceVerify | 增值税发票核验 |
| VatInvoiceVerifyNew | 增值税发票核验(新版) |
🏗️添砖加瓦
📐PR的建议
python-office欢迎任何人来添砖加瓦,贡献代码,建议提交的pr(pull request)符合一些规范,规范如下:
参与项目建设的步骤:
- 例如:你需要给python-office添加一个add方法。
- 你的Github账户名为:demo
- 于是你在./contributors新建了文件夹./demo
- 新建了add.py文件,编辑你的代码
- 编辑完成,提交pr到master分支(gitee或者GitHub,都可以)。可以注明你对自己功能的取名建议
- 晚枫收到后,会对各位的代码进行测试后,合并后打包上传到python官方库
📐代码规范
- 注释完备,尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息,必要时请添加单元测试,如果愿意,也可以加上你的大名。
- python-office的文档,需要进行格式化。注意:只能格式化你自己的代码
- 请直接pull request到
master分支。master是主分支,表示已经发布pypi库的版本。未来参与人数增多,会开辟新的分支,请留意本文档的更新。 - 我们如果关闭了你的issue或pr,请不要诧异,这是我们保持问题处理整洁的一种方式,你依旧可以继续讨论,当有讨论结果时我们会重新打开。
🧬贡献代码的步骤
- 在Gitee或者Github上fork项目到自己的repo
- 把fork过去的项目也就是你的项目clone到你的本地
- 修改代码
- commit后push到自己的库
- 登录Gitee或Github在你首页可以看到一个 pull request 按钮,点击它,填写一些说明信息,然后提交到master分支即可。
- 等待维护者合并
🐞提供bug反馈或建议
提交问题反馈时,请务必填写和python-office代码本身有关的问题,不进行有关python学习,甚至是个人练习的知识答疑和讨论。
📌联系作者
Metadata
Release files for potencent 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| potencent-0.0.4.tar.gz | 15.2 kB | Without provenance | Details for potencent-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| potencent-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for potencent-0.0.4-py3-none-any.whl |
Total release size: 28.6 kB
Release files / potencent-0.0.4.tar.gz
| Download URL | potencent-0.0.4.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a511c46de1b6c8eabc33fd934bae6a71664b291b90f36af9dc4bb65ad17b7e90
|
|
BLAKE2b-256 checksum How to use checksums |
4300c1adb04f0d79a2b4c2ab2b347f71bf2e4f24a0bf9bd317e0bfd4b300556f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / potencent-0.0.4-py3-none-any.whl
| Download URL | potencent-0.0.4-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f03ab9feaa93d6c4b38694bb5fbeee2889e8aac1061be25f5b8e3907990a35ae
|
|
BLAKE2b-256 checksum How to use checksums |
d2cfd1661d64d2fd507466ae3e8d04d2e6917c0e848edc59f46e6fa8ec8320e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Security for potencent 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.