tencentcloud-sdk-python-ocr 3.1.18__tar.gz → 3.1.23__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.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/ocr/v20181119/models.py +47 -2
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.23/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.18/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.18 → tencentcloud_sdk_python_ocr-3.1.23}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.23
|
|
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.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.23
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.23,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -16148,11 +16148,14 @@ class LicensePlateInfo(AbstractModel):
|
|
|
16148
16148
|
:type Rect: :class:`tencentcloud.ocr.v20181119.models.Rect`
|
|
16149
16149
|
:param _Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
16150
16150
|
:type Color: str
|
|
16151
|
+
:param _LicensePlateCategory: 车牌类别, 如: 实体车牌、非实体车牌
|
|
16152
|
+
:type LicensePlateCategory: str
|
|
16151
16153
|
"""
|
|
16152
16154
|
self._Number = None
|
|
16153
16155
|
self._Confidence = None
|
|
16154
16156
|
self._Rect = None
|
|
16155
16157
|
self._Color = None
|
|
16158
|
+
self._LicensePlateCategory = None
|
|
16156
16159
|
|
|
16157
16160
|
@property
|
|
16158
16161
|
def Number(self):
|
|
@@ -16198,6 +16201,17 @@ class LicensePlateInfo(AbstractModel):
|
|
|
16198
16201
|
def Color(self, Color):
|
|
16199
16202
|
self._Color = Color
|
|
16200
16203
|
|
|
16204
|
+
@property
|
|
16205
|
+
def LicensePlateCategory(self):
|
|
16206
|
+
r"""车牌类别, 如: 实体车牌、非实体车牌
|
|
16207
|
+
:rtype: str
|
|
16208
|
+
"""
|
|
16209
|
+
return self._LicensePlateCategory
|
|
16210
|
+
|
|
16211
|
+
@LicensePlateCategory.setter
|
|
16212
|
+
def LicensePlateCategory(self, LicensePlateCategory):
|
|
16213
|
+
self._LicensePlateCategory = LicensePlateCategory
|
|
16214
|
+
|
|
16201
16215
|
|
|
16202
16216
|
def _deserialize(self, params):
|
|
16203
16217
|
self._Number = params.get("Number")
|
|
@@ -16206,6 +16220,7 @@ class LicensePlateInfo(AbstractModel):
|
|
|
16206
16220
|
self._Rect = Rect()
|
|
16207
16221
|
self._Rect._deserialize(params.get("Rect"))
|
|
16208
16222
|
self._Color = params.get("Color")
|
|
16223
|
+
self._LicensePlateCategory = params.get("LicensePlateCategory")
|
|
16209
16224
|
memeber_set = set(params.keys())
|
|
16210
16225
|
for name, value in vars(self).items():
|
|
16211
16226
|
property_name = name[1:]
|
|
@@ -16280,10 +16295,12 @@ class LicensePlateOCRResponse(AbstractModel):
|
|
|
16280
16295
|
:type Confidence: int
|
|
16281
16296
|
:param _Rect: 文本行在原图片中的像素坐标框。
|
|
16282
16297
|
:type Rect: :class:`tencentcloud.ocr.v20181119.models.Rect`
|
|
16283
|
-
:param _Color: 识别出的车牌颜色,目前支持颜色包括
|
|
16298
|
+
:param _Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿”、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
16284
16299
|
:type Color: str
|
|
16285
16300
|
:param _LicensePlateInfos: 全部车牌信息。
|
|
16286
16301
|
:type LicensePlateInfos: list of LicensePlateInfo
|
|
16302
|
+
:param _LicensePlateCategory: 车牌类别, 如: 实体车牌、非实体车牌 示例值:实体车牌
|
|
16303
|
+
:type LicensePlateCategory: str
|
|
16287
16304
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16288
16305
|
:type RequestId: str
|
|
16289
16306
|
"""
|
|
@@ -16292,6 +16309,7 @@ class LicensePlateOCRResponse(AbstractModel):
|
|
|
16292
16309
|
self._Rect = None
|
|
16293
16310
|
self._Color = None
|
|
16294
16311
|
self._LicensePlateInfos = None
|
|
16312
|
+
self._LicensePlateCategory = None
|
|
16295
16313
|
self._RequestId = None
|
|
16296
16314
|
|
|
16297
16315
|
@property
|
|
@@ -16329,7 +16347,7 @@ class LicensePlateOCRResponse(AbstractModel):
|
|
|
16329
16347
|
|
|
16330
16348
|
@property
|
|
16331
16349
|
def Color(self):
|
|
16332
|
-
r"""识别出的车牌颜色,目前支持颜色包括
|
|
16350
|
+
r"""识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿”、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
16333
16351
|
:rtype: str
|
|
16334
16352
|
"""
|
|
16335
16353
|
return self._Color
|
|
@@ -16349,6 +16367,17 @@ class LicensePlateOCRResponse(AbstractModel):
|
|
|
16349
16367
|
def LicensePlateInfos(self, LicensePlateInfos):
|
|
16350
16368
|
self._LicensePlateInfos = LicensePlateInfos
|
|
16351
16369
|
|
|
16370
|
+
@property
|
|
16371
|
+
def LicensePlateCategory(self):
|
|
16372
|
+
r"""车牌类别, 如: 实体车牌、非实体车牌 示例值:实体车牌
|
|
16373
|
+
:rtype: str
|
|
16374
|
+
"""
|
|
16375
|
+
return self._LicensePlateCategory
|
|
16376
|
+
|
|
16377
|
+
@LicensePlateCategory.setter
|
|
16378
|
+
def LicensePlateCategory(self, LicensePlateCategory):
|
|
16379
|
+
self._LicensePlateCategory = LicensePlateCategory
|
|
16380
|
+
|
|
16352
16381
|
@property
|
|
16353
16382
|
def RequestId(self):
|
|
16354
16383
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -16374,6 +16403,7 @@ class LicensePlateOCRResponse(AbstractModel):
|
|
|
16374
16403
|
obj = LicensePlateInfo()
|
|
16375
16404
|
obj._deserialize(item)
|
|
16376
16405
|
self._LicensePlateInfos.append(obj)
|
|
16406
|
+
self._LicensePlateCategory = params.get("LicensePlateCategory")
|
|
16377
16407
|
self._RequestId = params.get("RequestId")
|
|
16378
16408
|
|
|
16379
16409
|
|
|
@@ -26587,6 +26617,8 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
26587
26617
|
:type AdvancedInfo: str
|
|
26588
26618
|
:param _CardCount: 卡证正面图片中,证件主体的数量(仅请求曼谷地域[ap-bangkok]返回)
|
|
26589
26619
|
:type CardCount: int
|
|
26620
|
+
:param _IsComplete: 卡证字段是否完整,true:完整;false:不完整
|
|
26621
|
+
:type IsComplete: bool
|
|
26590
26622
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26591
26623
|
:type RequestId: str
|
|
26592
26624
|
"""
|
|
@@ -26608,6 +26640,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
26608
26640
|
self._WarnCardInfos = None
|
|
26609
26641
|
self._AdvancedInfo = None
|
|
26610
26642
|
self._CardCount = None
|
|
26643
|
+
self._IsComplete = None
|
|
26611
26644
|
self._RequestId = None
|
|
26612
26645
|
|
|
26613
26646
|
@property
|
|
@@ -26818,6 +26851,17 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
26818
26851
|
def CardCount(self, CardCount):
|
|
26819
26852
|
self._CardCount = CardCount
|
|
26820
26853
|
|
|
26854
|
+
@property
|
|
26855
|
+
def IsComplete(self):
|
|
26856
|
+
r"""卡证字段是否完整,true:完整;false:不完整
|
|
26857
|
+
:rtype: bool
|
|
26858
|
+
"""
|
|
26859
|
+
return self._IsComplete
|
|
26860
|
+
|
|
26861
|
+
@IsComplete.setter
|
|
26862
|
+
def IsComplete(self, IsComplete):
|
|
26863
|
+
self._IsComplete = IsComplete
|
|
26864
|
+
|
|
26821
26865
|
@property
|
|
26822
26866
|
def RequestId(self):
|
|
26823
26867
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -26849,6 +26893,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
26849
26893
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
|
26850
26894
|
self._AdvancedInfo = params.get("AdvancedInfo")
|
|
26851
26895
|
self._CardCount = params.get("CardCount")
|
|
26896
|
+
self._IsComplete = params.get("IsComplete")
|
|
26852
26897
|
self._RequestId = params.get("RequestId")
|
|
26853
26898
|
|
|
26854
26899
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.23
|
|
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.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.23
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.23
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.18
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|