tencentcloud-sdk-python-ocr 3.0.1443__py2.py3-none-any.whl → 3.0.1445__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ocr/v20181119/models.py +46 -16
- {tencentcloud_sdk_python_ocr-3.0.1443.dist-info → tencentcloud_sdk_python_ocr-3.0.1445.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_ocr-3.0.1445.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_ocr-3.0.1443.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_ocr-3.0.1443.dist-info → tencentcloud_sdk_python_ocr-3.0.1445.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_ocr-3.0.1443.dist-info → tencentcloud_sdk_python_ocr-3.0.1445.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -8090,7 +8090,7 @@ RideHailingDriverLicense -- 网约车驾驶证
|
|
8090
8090
|
RideHailingTransportLicense -- 网约车运输证
|
8091
8091
|
WayBill -- 快递运单
|
8092
8092
|
AccountOpeningPermit -- 银行开户许可证
|
8093
|
-
InvoiceEng --
|
8093
|
+
InvoiceEng -- 国际发票模板
|
8094
8094
|
Coin --钱币识别模板
|
8095
8095
|
OnboardingDocuments -- 入职材料识别
|
8096
8096
|
PropertyOwnershipCertificate -- 房产证识别
|
@@ -8188,7 +8188,7 @@ RideHailingDriverLicense -- 网约车驾驶证
|
|
8188
8188
|
RideHailingTransportLicense -- 网约车运输证
|
8189
8189
|
WayBill -- 快递运单
|
8190
8190
|
AccountOpeningPermit -- 银行开户许可证
|
8191
|
-
InvoiceEng --
|
8191
|
+
InvoiceEng -- 国际发票模板
|
8192
8192
|
Coin --钱币识别模板
|
8193
8193
|
OnboardingDocuments -- 入职材料识别
|
8194
8194
|
PropertyOwnershipCertificate -- 房产证识别
|
@@ -8350,7 +8350,7 @@ ReceiptWeightNote -- 磅单收货单识别模板
|
|
8350
8350
|
:type EnableCoord: bool
|
8351
8351
|
:param _OutputParentKey: 是否开启父子key识别,默认是
|
8352
8352
|
:type OutputParentKey: bool
|
8353
|
-
:param _ConfigAdvanced:
|
8353
|
+
:param _ConfigAdvanced: 模板的单个属性配置
|
8354
8354
|
:type ConfigAdvanced: :class:`tencentcloud.ocr.v20181119.models.ConfigAdvanced`
|
8355
8355
|
"""
|
8356
8356
|
self._ImageUrl = None
|
@@ -8470,7 +8470,7 @@ ReceiptWeightNote -- 磅单收货单识别模板
|
|
8470
8470
|
|
8471
8471
|
@property
|
8472
8472
|
def ConfigAdvanced(self):
|
8473
|
-
"""
|
8473
|
+
"""模板的单个属性配置
|
8474
8474
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.ConfigAdvanced`
|
8475
8475
|
"""
|
8476
8476
|
return self._ConfigAdvanced
|
@@ -8624,7 +8624,7 @@ flase:输出默认字段+自定义字段
|
|
8624
8624
|
:type ReturnFullText: bool
|
8625
8625
|
:param _ConfigId: 配置id支持:
|
8626
8626
|
General -- 通用场景
|
8627
|
-
InvoiceEng -- 国际invoice
|
8627
|
+
InvoiceEng -- 国际invoice模板
|
8628
8628
|
WayBillEng --海运订单模板
|
8629
8629
|
CustomsDeclaration -- 进出口报关单
|
8630
8630
|
WeightNote -- 磅单
|
@@ -8634,18 +8634,18 @@ EntrustmentBook -- 海运托书
|
|
8634
8634
|
Statement -- 对账单识别模板
|
8635
8635
|
BookingConfirmation -- 配舱通知书识别模板
|
8636
8636
|
AirWayBill -- 航空运单识别模板
|
8637
|
-
Table --
|
8637
|
+
Table -- 表格模板
|
8638
8638
|
SteelLabel -- 实物标签识别模板
|
8639
8639
|
CarInsurance -- 车辆保险单识别模板
|
8640
8640
|
MultiRealEstateCertificate -- 房产材料识别模板
|
8641
8641
|
MultiRealEstateMaterial -- 房产证明识别模板
|
8642
|
-
HongKongUtilityBill --
|
8642
|
+
HongKongUtilityBill -- 中国香港水电煤单识别模板
|
8643
8643
|
:type ConfigId: str
|
8644
8644
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
8645
8645
|
:type EnableCoord: bool
|
8646
8646
|
:param _OutputParentKey: 是否开启父子key识别,默认是
|
8647
8647
|
:type OutputParentKey: bool
|
8648
|
-
:param _ConfigAdvanced:
|
8648
|
+
:param _ConfigAdvanced: 模板的单个属性配置
|
8649
8649
|
:type ConfigAdvanced: :class:`tencentcloud.ocr.v20181119.models.ConfigAdvanced`
|
8650
8650
|
:param _OutputLanguage: cn时,添加的key为中文
|
8651
8651
|
en时,添加的key为英语
|
@@ -8735,7 +8735,7 @@ flase:输出默认字段+自定义字段
|
|
8735
8735
|
def ConfigId(self):
|
8736
8736
|
"""配置id支持:
|
8737
8737
|
General -- 通用场景
|
8738
|
-
InvoiceEng -- 国际invoice
|
8738
|
+
InvoiceEng -- 国际invoice模板
|
8739
8739
|
WayBillEng --海运订单模板
|
8740
8740
|
CustomsDeclaration -- 进出口报关单
|
8741
8741
|
WeightNote -- 磅单
|
@@ -8745,12 +8745,12 @@ EntrustmentBook -- 海运托书
|
|
8745
8745
|
Statement -- 对账单识别模板
|
8746
8746
|
BookingConfirmation -- 配舱通知书识别模板
|
8747
8747
|
AirWayBill -- 航空运单识别模板
|
8748
|
-
Table --
|
8748
|
+
Table -- 表格模板
|
8749
8749
|
SteelLabel -- 实物标签识别模板
|
8750
8750
|
CarInsurance -- 车辆保险单识别模板
|
8751
8751
|
MultiRealEstateCertificate -- 房产材料识别模板
|
8752
8752
|
MultiRealEstateMaterial -- 房产证明识别模板
|
8753
|
-
HongKongUtilityBill --
|
8753
|
+
HongKongUtilityBill -- 中国香港水电煤单识别模板
|
8754
8754
|
:rtype: str
|
8755
8755
|
"""
|
8756
8756
|
return self._ConfigId
|
@@ -8783,7 +8783,7 @@ HongKongUtilityBill -- 香港水电煤单识别模板
|
|
8783
8783
|
|
8784
8784
|
@property
|
8785
8785
|
def ConfigAdvanced(self):
|
8786
|
-
"""
|
8786
|
+
"""模板的单个属性配置
|
8787
8787
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.ConfigAdvanced`
|
8788
8788
|
"""
|
8789
8789
|
return self._ConfigAdvanced
|
@@ -10596,6 +10596,8 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
10596
10596
|
:type PdfPageNumber: int
|
10597
10597
|
:param _EnableDetectText: 文本检测开关,默认为true。设置为false可直接进行单行识别,适用于仅包含正向单行文本的图片场景。
|
10598
10598
|
:type EnableDetectText: bool
|
10599
|
+
:param _ConfigID: 配置ID支持: OCR -- 通用场景 MulOCR--多语种场景
|
10600
|
+
:type ConfigID: str
|
10599
10601
|
"""
|
10600
10602
|
self._ImageBase64 = None
|
10601
10603
|
self._ImageUrl = None
|
@@ -10604,6 +10606,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
10604
10606
|
self._IsPdf = None
|
10605
10607
|
self._PdfPageNumber = None
|
10606
10608
|
self._EnableDetectText = None
|
10609
|
+
self._ConfigID = None
|
10607
10610
|
|
10608
10611
|
@property
|
10609
10612
|
def ImageBase64(self):
|
@@ -10682,6 +10685,17 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
10682
10685
|
def EnableDetectText(self, EnableDetectText):
|
10683
10686
|
self._EnableDetectText = EnableDetectText
|
10684
10687
|
|
10688
|
+
@property
|
10689
|
+
def ConfigID(self):
|
10690
|
+
"""配置ID支持: OCR -- 通用场景 MulOCR--多语种场景
|
10691
|
+
:rtype: str
|
10692
|
+
"""
|
10693
|
+
return self._ConfigID
|
10694
|
+
|
10695
|
+
@ConfigID.setter
|
10696
|
+
def ConfigID(self, ConfigID):
|
10697
|
+
self._ConfigID = ConfigID
|
10698
|
+
|
10685
10699
|
|
10686
10700
|
def _deserialize(self, params):
|
10687
10701
|
self._ImageBase64 = params.get("ImageBase64")
|
@@ -10691,6 +10705,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
10691
10705
|
self._IsPdf = params.get("IsPdf")
|
10692
10706
|
self._PdfPageNumber = params.get("PdfPageNumber")
|
10693
10707
|
self._EnableDetectText = params.get("EnableDetectText")
|
10708
|
+
self._ConfigID = params.get("ConfigID")
|
10694
10709
|
memeber_set = set(params.keys())
|
10695
10710
|
for name, value in vars(self).items():
|
10696
10711
|
property_name = name[1:]
|
@@ -12533,10 +12548,10 @@ class HandwritingEssayOCRRequest(AbstractModel):
|
|
12533
12548
|
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
|
12534
12549
|
:type PdfPageNumber: int
|
12535
12550
|
:param _ConfigId: 配置id支持:
|
12536
|
-
ArticleRecognize --
|
12551
|
+
ArticleRecognize -- 手写作文模板
|
12537
12552
|
默认:ArticleRecognize
|
12538
12553
|
:type ConfigId: str
|
12539
|
-
:param _Scene:
|
12554
|
+
:param _Scene: 模板的单个属性配置
|
12540
12555
|
:type Scene: str
|
12541
12556
|
"""
|
12542
12557
|
self._ImageUrl = None
|
@@ -12581,7 +12596,7 @@ ArticleRecognize -- 手写作文模版
|
|
12581
12596
|
@property
|
12582
12597
|
def ConfigId(self):
|
12583
12598
|
"""配置id支持:
|
12584
|
-
ArticleRecognize --
|
12599
|
+
ArticleRecognize -- 手写作文模板
|
12585
12600
|
默认:ArticleRecognize
|
12586
12601
|
:rtype: str
|
12587
12602
|
"""
|
@@ -12593,7 +12608,7 @@ ArticleRecognize -- 手写作文模版
|
|
12593
12608
|
|
12594
12609
|
@property
|
12595
12610
|
def Scene(self):
|
12596
|
-
"""
|
12611
|
+
"""模板的单个属性配置
|
12597
12612
|
:rtype: str
|
12598
12613
|
"""
|
12599
12614
|
return self._Scene
|
@@ -36786,6 +36801,8 @@ class VatElectronicInfo(AbstractModel):
|
|
36786
36801
|
:type TaxMark: str
|
36787
36802
|
:param _CompanySealMark: 是否有公司印章(0:没有,1:有)
|
36788
36803
|
:type CompanySealMark: int
|
36804
|
+
:param _InvoicePageIndex: 全电类型的多页pdf票据中,支持输出票面页码:当前第几页,一共第几页。
|
36805
|
+
:type InvoicePageIndex: str
|
36789
36806
|
"""
|
36790
36807
|
self._Title = None
|
36791
36808
|
self._Number = None
|
@@ -36809,6 +36826,7 @@ class VatElectronicInfo(AbstractModel):
|
|
36809
36826
|
self._PretaxAmountMark = None
|
36810
36827
|
self._TaxMark = None
|
36811
36828
|
self._CompanySealMark = None
|
36829
|
+
self._InvoicePageIndex = None
|
36812
36830
|
|
36813
36831
|
@property
|
36814
36832
|
def Title(self):
|
@@ -37052,6 +37070,17 @@ class VatElectronicInfo(AbstractModel):
|
|
37052
37070
|
def CompanySealMark(self, CompanySealMark):
|
37053
37071
|
self._CompanySealMark = CompanySealMark
|
37054
37072
|
|
37073
|
+
@property
|
37074
|
+
def InvoicePageIndex(self):
|
37075
|
+
"""全电类型的多页pdf票据中,支持输出票面页码:当前第几页,一共第几页。
|
37076
|
+
:rtype: str
|
37077
|
+
"""
|
37078
|
+
return self._InvoicePageIndex
|
37079
|
+
|
37080
|
+
@InvoicePageIndex.setter
|
37081
|
+
def InvoicePageIndex(self, InvoicePageIndex):
|
37082
|
+
self._InvoicePageIndex = InvoicePageIndex
|
37083
|
+
|
37055
37084
|
|
37056
37085
|
def _deserialize(self, params):
|
37057
37086
|
self._Title = params.get("Title")
|
@@ -37081,6 +37110,7 @@ class VatElectronicInfo(AbstractModel):
|
|
37081
37110
|
self._PretaxAmountMark = params.get("PretaxAmountMark")
|
37082
37111
|
self._TaxMark = params.get("TaxMark")
|
37083
37112
|
self._CompanySealMark = params.get("CompanySealMark")
|
37113
|
+
self._InvoicePageIndex = params.get("InvoicePageIndex")
|
37084
37114
|
memeber_set = set(params.keys())
|
37085
37115
|
for name, value in vars(self).items():
|
37086
37116
|
property_name = name[1:]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1445
|
4
4
|
Summary: Tencent Cloud Ocr SDK for Python
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
6
6
|
Author: Tencent Cloud
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1445)
|
19
19
|
|
20
20
|
============================
|
21
21
|
Tencent Cloud SDK for Python
|
@@ -0,0 +1,10 @@
|
|
1
|
+
tencentcloud/__init__.py,sha256=qUOpK_hlcu8hDGtwTaFabHPddM0anvpH-6Trr5ETNAE,631
|
2
|
+
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
tencentcloud/ocr/v20181119/errorcodes.py,sha256=F14bbQDRi4P9JfBfjuTGaR08iiQkY3d3KcyBwscqAtk,6985
|
5
|
+
tencentcloud/ocr/v20181119/models.py,sha256=d-TKS0CHO7YKPeF0LQpUk65wgNWq_h_dt0n85wjyxSs,1385102
|
6
|
+
tencentcloud/ocr/v20181119/ocr_client.py,sha256=D9rJ5NROJ6i0WjWIUXD0CvY_NTYq74un_lPz_o3DcKQ,123525
|
7
|
+
tencentcloud_sdk_python_ocr-3.0.1445.dist-info/METADATA,sha256=9ukt5wkPzS4d2l3v6UOJKlfrYZknWV871_oVOl_5FB4,1503
|
8
|
+
tencentcloud_sdk_python_ocr-3.0.1445.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
9
|
+
tencentcloud_sdk_python_ocr-3.0.1445.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
10
|
+
tencentcloud_sdk_python_ocr-3.0.1445.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
tencentcloud/__init__.py,sha256=XZH4VAZz9WH1-EhCd0jNUtOoc4aJ9MfjvVt7tg5nyYE,631
|
2
|
-
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
tencentcloud/ocr/v20181119/errorcodes.py,sha256=F14bbQDRi4P9JfBfjuTGaR08iiQkY3d3KcyBwscqAtk,6985
|
5
|
-
tencentcloud/ocr/v20181119/models.py,sha256=DFkTEVN27Z9rieAtKTgZZ0Ds_hHiqB45uGfqxFFBEYc,1383996
|
6
|
-
tencentcloud/ocr/v20181119/ocr_client.py,sha256=D9rJ5NROJ6i0WjWIUXD0CvY_NTYq74un_lPz_o3DcKQ,123525
|
7
|
-
tencentcloud_sdk_python_ocr-3.0.1443.dist-info/METADATA,sha256=cxoZK6pRq8f9-FAwiG7XmbRilmuIvNwrfc2Cskt5b-A,1503
|
8
|
-
tencentcloud_sdk_python_ocr-3.0.1443.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
9
|
-
tencentcloud_sdk_python_ocr-3.0.1443.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
10
|
-
tencentcloud_sdk_python_ocr-3.0.1443.dist-info/RECORD,,
|
File without changes
|
File without changes
|