tencentcloud-sdk-python-ocr 3.0.1449__py2.py3-none-any.whl → 3.0.1455__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-ocr might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ocr/v20181119/models.py +59 -0
- {tencentcloud_sdk_python_ocr-3.0.1449.dist-info → tencentcloud_sdk_python_ocr-3.0.1455.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_ocr-3.0.1455.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_ocr-3.0.1449.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_ocr-3.0.1449.dist-info → tencentcloud_sdk_python_ocr-3.0.1455.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_ocr-3.0.1449.dist-info → tencentcloud_sdk_python_ocr-3.0.1455.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -2121,6 +2121,8 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
2121
2121
|
:type Electronic: bool
|
2122
2122
|
:param _BusinessCertificate: 非营业执照的营业类证件识别结果,将以结构化形式呈现。
|
2123
2123
|
:type BusinessCertificate: list of BusinessCertificateInfo
|
2124
|
+
:param _Important: 重要提示字段
|
2125
|
+
:type Important: str
|
2124
2126
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2125
2127
|
:type RequestId: str
|
2126
2128
|
"""
|
@@ -2147,6 +2149,7 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
2147
2149
|
self._RegistrationAuthority = None
|
2148
2150
|
self._Electronic = None
|
2149
2151
|
self._BusinessCertificate = None
|
2152
|
+
self._Important = None
|
2150
2153
|
self._RequestId = None
|
2151
2154
|
|
2152
2155
|
@property
|
@@ -2408,6 +2411,17 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
2408
2411
|
def BusinessCertificate(self, BusinessCertificate):
|
2409
2412
|
self._BusinessCertificate = BusinessCertificate
|
2410
2413
|
|
2414
|
+
@property
|
2415
|
+
def Important(self):
|
2416
|
+
"""重要提示字段
|
2417
|
+
:rtype: str
|
2418
|
+
"""
|
2419
|
+
return self._Important
|
2420
|
+
|
2421
|
+
@Important.setter
|
2422
|
+
def Important(self, Important):
|
2423
|
+
self._Important = Important
|
2424
|
+
|
2411
2425
|
@property
|
2412
2426
|
def RequestId(self):
|
2413
2427
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -2449,6 +2463,7 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
2449
2463
|
obj = BusinessCertificateInfo()
|
2450
2464
|
obj._deserialize(item)
|
2451
2465
|
self._BusinessCertificate.append(obj)
|
2466
|
+
self._Important = params.get("Important")
|
2452
2467
|
self._RequestId = params.get("RequestId")
|
2453
2468
|
|
2454
2469
|
|
@@ -8640,6 +8655,12 @@ CarInsurance -- 车辆保险单识别模板
|
|
8640
8655
|
MultiRealEstateCertificate -- 房产材料识别模板
|
8641
8656
|
MultiRealEstateMaterial -- 房产证明识别模板
|
8642
8657
|
HongKongUtilityBill -- 中国香港水电煤单识别模板
|
8658
|
+
OverseasCheques -- 海外支票
|
8659
|
+
RegistrationCertificate -- 备案证
|
8660
|
+
GridPhoto -- 电网系统照片
|
8661
|
+
SignaturePage -- 签署页
|
8662
|
+
|
8663
|
+
|
8643
8664
|
:type ConfigId: str
|
8644
8665
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
8645
8666
|
:type EnableCoord: bool
|
@@ -8751,6 +8772,12 @@ CarInsurance -- 车辆保险单识别模板
|
|
8751
8772
|
MultiRealEstateCertificate -- 房产材料识别模板
|
8752
8773
|
MultiRealEstateMaterial -- 房产证明识别模板
|
8753
8774
|
HongKongUtilityBill -- 中国香港水电煤单识别模板
|
8775
|
+
OverseasCheques -- 海外支票
|
8776
|
+
RegistrationCertificate -- 备案证
|
8777
|
+
GridPhoto -- 电网系统照片
|
8778
|
+
SignaturePage -- 签署页
|
8779
|
+
|
8780
|
+
|
8754
8781
|
:rtype: str
|
8755
8782
|
"""
|
8756
8783
|
return self._ConfigId
|
@@ -22485,6 +22512,8 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22485
22512
|
:type EnableImageCrop: bool
|
22486
22513
|
:param _EnableOnlyDetectBorder: 是否只返回检测框,默认false
|
22487
22514
|
:type EnableOnlyDetectBorder: bool
|
22515
|
+
:param _UseNewModel: false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
|
22516
|
+
:type UseNewModel: bool
|
22488
22517
|
"""
|
22489
22518
|
self._ImageUrl = None
|
22490
22519
|
self._ImageBase64 = None
|
@@ -22492,6 +22521,7 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22492
22521
|
self._PdfPageNumber = None
|
22493
22522
|
self._EnableImageCrop = None
|
22494
22523
|
self._EnableOnlyDetectBorder = None
|
22524
|
+
self._UseNewModel = None
|
22495
22525
|
|
22496
22526
|
@property
|
22497
22527
|
def ImageUrl(self):
|
@@ -22559,6 +22589,17 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22559
22589
|
def EnableOnlyDetectBorder(self, EnableOnlyDetectBorder):
|
22560
22590
|
self._EnableOnlyDetectBorder = EnableOnlyDetectBorder
|
22561
22591
|
|
22592
|
+
@property
|
22593
|
+
def UseNewModel(self):
|
22594
|
+
"""false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
|
22595
|
+
:rtype: bool
|
22596
|
+
"""
|
22597
|
+
return self._UseNewModel
|
22598
|
+
|
22599
|
+
@UseNewModel.setter
|
22600
|
+
def UseNewModel(self, UseNewModel):
|
22601
|
+
self._UseNewModel = UseNewModel
|
22602
|
+
|
22562
22603
|
|
22563
22604
|
def _deserialize(self, params):
|
22564
22605
|
self._ImageUrl = params.get("ImageUrl")
|
@@ -22567,6 +22608,7 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22567
22608
|
self._PdfPageNumber = params.get("PdfPageNumber")
|
22568
22609
|
self._EnableImageCrop = params.get("EnableImageCrop")
|
22569
22610
|
self._EnableOnlyDetectBorder = params.get("EnableOnlyDetectBorder")
|
22611
|
+
self._UseNewModel = params.get("UseNewModel")
|
22570
22612
|
memeber_set = set(params.keys())
|
22571
22613
|
for name, value in vars(self).items():
|
22572
22614
|
property_name = name[1:]
|
@@ -36707,9 +36749,13 @@ class Value(AbstractModel):
|
|
36707
36749
|
:param _Coord: 四点坐标
|
36708
36750
|
注意:此字段可能返回 null,表示取不到有效值。
|
36709
36751
|
:type Coord: :class:`tencentcloud.ocr.v20181119.models.Polygon`
|
36752
|
+
:param _PageIndex: 页数
|
36753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
36754
|
+
:type PageIndex: str
|
36710
36755
|
"""
|
36711
36756
|
self._AutoContent = None
|
36712
36757
|
self._Coord = None
|
36758
|
+
self._PageIndex = None
|
36713
36759
|
|
36714
36760
|
@property
|
36715
36761
|
def AutoContent(self):
|
@@ -36734,12 +36780,25 @@ class Value(AbstractModel):
|
|
36734
36780
|
def Coord(self, Coord):
|
36735
36781
|
self._Coord = Coord
|
36736
36782
|
|
36783
|
+
@property
|
36784
|
+
def PageIndex(self):
|
36785
|
+
"""页数
|
36786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
36787
|
+
:rtype: str
|
36788
|
+
"""
|
36789
|
+
return self._PageIndex
|
36790
|
+
|
36791
|
+
@PageIndex.setter
|
36792
|
+
def PageIndex(self, PageIndex):
|
36793
|
+
self._PageIndex = PageIndex
|
36794
|
+
|
36737
36795
|
|
36738
36796
|
def _deserialize(self, params):
|
36739
36797
|
self._AutoContent = params.get("AutoContent")
|
36740
36798
|
if params.get("Coord") is not None:
|
36741
36799
|
self._Coord = Polygon()
|
36742
36800
|
self._Coord._deserialize(params.get("Coord"))
|
36801
|
+
self._PageIndex = params.get("PageIndex")
|
36743
36802
|
memeber_set = set(params.keys())
|
36744
36803
|
for name, value in vars(self).items():
|
36745
36804
|
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.1455
|
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.1455)
|
19
19
|
|
20
20
|
============================
|
21
21
|
Tencent Cloud SDK for Python
|
@@ -0,0 +1,10 @@
|
|
1
|
+
tencentcloud/__init__.py,sha256=N4t2nCd7A9PPk2i_nvv8EPP8-VVzl_e0MK-aFMzPTd8,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=kmIJTLgLA2nMQElj0oKxtPPeAmq5Ho378SzueWG80rA,1386730
|
6
|
+
tencentcloud/ocr/v20181119/ocr_client.py,sha256=JQvqYoFzfFFk1WpsYl0Lp6B40f8R7ioLLQAHuhLYeDM,123154
|
7
|
+
tencentcloud_sdk_python_ocr-3.0.1455.dist-info/METADATA,sha256=1iH8e0vtBPv5eK7ckByS4yXP1ZfVHaAujZtJoiC010w,1503
|
8
|
+
tencentcloud_sdk_python_ocr-3.0.1455.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
9
|
+
tencentcloud_sdk_python_ocr-3.0.1455.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
10
|
+
tencentcloud_sdk_python_ocr-3.0.1455.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
tencentcloud/__init__.py,sha256=KIcgFWpDocIcuYndKE11-cJLKP6dsPwPmQW42xCLKac,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=nLvfNavVCs9IYnDZKKUlWTJghNda-BYHouMVMCX5vPs,1384870
|
6
|
-
tencentcloud/ocr/v20181119/ocr_client.py,sha256=JQvqYoFzfFFk1WpsYl0Lp6B40f8R7ioLLQAHuhLYeDM,123154
|
7
|
-
tencentcloud_sdk_python_ocr-3.0.1449.dist-info/METADATA,sha256=3WfUhZzKBClW1i3zNMiIjMDhpOOYY_GFOjkvibRcQ4w,1503
|
8
|
-
tencentcloud_sdk_python_ocr-3.0.1449.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
9
|
-
tencentcloud_sdk_python_ocr-3.0.1449.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
10
|
-
tencentcloud_sdk_python_ocr-3.0.1449.dist-info/RECORD,,
|
File without changes
|
File without changes
|