tencentcloud-sdk-python-ocr 3.0.1449__tar.gz → 3.0.1453__tar.gz
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-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud/ocr/v20181119/models.py +30 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1453/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1449/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1453}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
8
8
|
|
9
9
|
setup(
|
10
10
|
name='tencentcloud-sdk-python-ocr',
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1453,<4.0.0"],
|
12
12
|
version=tencentcloud.__version__,
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
14
14
|
long_description=open('README.rst').read(),
|
@@ -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
|
|
@@ -22485,6 +22500,8 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22485
22500
|
:type EnableImageCrop: bool
|
22486
22501
|
:param _EnableOnlyDetectBorder: 是否只返回检测框,默认false
|
22487
22502
|
:type EnableOnlyDetectBorder: bool
|
22503
|
+
:param _UseNewModel: false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
|
22504
|
+
:type UseNewModel: bool
|
22488
22505
|
"""
|
22489
22506
|
self._ImageUrl = None
|
22490
22507
|
self._ImageBase64 = None
|
@@ -22492,6 +22509,7 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22492
22509
|
self._PdfPageNumber = None
|
22493
22510
|
self._EnableImageCrop = None
|
22494
22511
|
self._EnableOnlyDetectBorder = None
|
22512
|
+
self._UseNewModel = None
|
22495
22513
|
|
22496
22514
|
@property
|
22497
22515
|
def ImageUrl(self):
|
@@ -22559,6 +22577,17 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22559
22577
|
def EnableOnlyDetectBorder(self, EnableOnlyDetectBorder):
|
22560
22578
|
self._EnableOnlyDetectBorder = EnableOnlyDetectBorder
|
22561
22579
|
|
22580
|
+
@property
|
22581
|
+
def UseNewModel(self):
|
22582
|
+
"""false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
|
22583
|
+
:rtype: bool
|
22584
|
+
"""
|
22585
|
+
return self._UseNewModel
|
22586
|
+
|
22587
|
+
@UseNewModel.setter
|
22588
|
+
def UseNewModel(self, UseNewModel):
|
22589
|
+
self._UseNewModel = UseNewModel
|
22590
|
+
|
22562
22591
|
|
22563
22592
|
def _deserialize(self, params):
|
22564
22593
|
self._ImageUrl = params.get("ImageUrl")
|
@@ -22567,6 +22596,7 @@ class QuestionSplitOCRRequest(AbstractModel):
|
|
22567
22596
|
self._PdfPageNumber = params.get("PdfPageNumber")
|
22568
22597
|
self._EnableImageCrop = params.get("EnableImageCrop")
|
22569
22598
|
self._EnableOnlyDetectBorder = params.get("EnableOnlyDetectBorder")
|
22599
|
+
self._UseNewModel = params.get("UseNewModel")
|
22570
22600
|
memeber_set = set(params.keys())
|
22571
22601
|
for name, value in vars(self).items():
|
22572
22602
|
property_name = name[1:]
|
@@ -0,0 +1 @@
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1453
|
@@ -1 +0,0 @@
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1449
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|