tencentcloud-sdk-python-ocr 3.0.1120__tar.gz → 3.0.1130__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.
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud/ocr/v20181119/models.py +45 -32
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1130/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1120/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1120 → tencentcloud-sdk-python-ocr-3.0.1130}/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.1130"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3291,6 +3291,9 @@ class DocumentElement(AbstractModel):
|
|
|
3291
3291
|
:param _Level: 元素层级
|
|
3292
3292
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3293
3293
|
:type Level: int
|
|
3294
|
+
:param _InsetImageName: 入参开启EnableInsetImage后返回,表示在InsetImagePackage中的内嵌图片名称
|
|
3295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3296
|
+
:type InsetImageName: str
|
|
3294
3297
|
:param _Elements: 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
|
|
3295
3298
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3296
3299
|
:type Elements: list of DocumentElement
|
|
@@ -3300,6 +3303,7 @@ class DocumentElement(AbstractModel):
|
|
|
3300
3303
|
self._Text = None
|
|
3301
3304
|
self._Polygon = None
|
|
3302
3305
|
self._Level = None
|
|
3306
|
+
self._InsetImageName = None
|
|
3303
3307
|
self._Elements = None
|
|
3304
3308
|
|
|
3305
3309
|
@property
|
|
@@ -3342,6 +3346,14 @@ class DocumentElement(AbstractModel):
|
|
|
3342
3346
|
def Level(self, Level):
|
|
3343
3347
|
self._Level = Level
|
|
3344
3348
|
|
|
3349
|
+
@property
|
|
3350
|
+
def InsetImageName(self):
|
|
3351
|
+
return self._InsetImageName
|
|
3352
|
+
|
|
3353
|
+
@InsetImageName.setter
|
|
3354
|
+
def InsetImageName(self, InsetImageName):
|
|
3355
|
+
self._InsetImageName = InsetImageName
|
|
3356
|
+
|
|
3345
3357
|
@property
|
|
3346
3358
|
def Elements(self):
|
|
3347
3359
|
return self._Elements
|
|
@@ -3359,6 +3371,7 @@ class DocumentElement(AbstractModel):
|
|
|
3359
3371
|
self._Polygon = Polygon()
|
|
3360
3372
|
self._Polygon._deserialize(params.get("Polygon"))
|
|
3361
3373
|
self._Level = params.get("Level")
|
|
3374
|
+
self._InsetImageName = params.get("InsetImageName")
|
|
3362
3375
|
if params.get("Elements") is not None:
|
|
3363
3376
|
self._Elements = []
|
|
3364
3377
|
for item in params.get("Elements"):
|
|
@@ -18509,16 +18522,16 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
18509
18522
|
:type ThaiName: str
|
|
18510
18523
|
:param _EnFirstName: 英文姓名
|
|
18511
18524
|
:type EnFirstName: str
|
|
18512
|
-
:param _Address: 地址
|
|
18513
|
-
:type Address: str
|
|
18514
|
-
:param _Birthday: 出生日期
|
|
18515
|
-
:type Birthday: str
|
|
18516
|
-
:param _IssueDate: 签发日期
|
|
18517
|
-
:type IssueDate: str
|
|
18518
|
-
:param _ExpirationDate: 到期日期
|
|
18519
|
-
:type ExpirationDate: str
|
|
18520
18525
|
:param _EnLastName: 英文姓名
|
|
18521
18526
|
:type EnLastName: str
|
|
18527
|
+
:param _IssueDate: 泰文签发日期
|
|
18528
|
+
:type IssueDate: str
|
|
18529
|
+
:param _ExpirationDate: 泰文到期日期
|
|
18530
|
+
:type ExpirationDate: str
|
|
18531
|
+
:param _Birthday: 泰文出生日期
|
|
18532
|
+
:type Birthday: str
|
|
18533
|
+
:param _Address: 地址
|
|
18534
|
+
:type Address: str
|
|
18522
18535
|
:param _PortraitImage: 证件人像照片抠取
|
|
18523
18536
|
:type PortraitImage: str
|
|
18524
18537
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -18527,11 +18540,11 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
18527
18540
|
self._ID = None
|
|
18528
18541
|
self._ThaiName = None
|
|
18529
18542
|
self._EnFirstName = None
|
|
18530
|
-
self.
|
|
18531
|
-
self._Birthday = None
|
|
18543
|
+
self._EnLastName = None
|
|
18532
18544
|
self._IssueDate = None
|
|
18533
18545
|
self._ExpirationDate = None
|
|
18534
|
-
self.
|
|
18546
|
+
self._Birthday = None
|
|
18547
|
+
self._Address = None
|
|
18535
18548
|
self._PortraitImage = None
|
|
18536
18549
|
self._RequestId = None
|
|
18537
18550
|
|
|
@@ -18560,20 +18573,12 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
18560
18573
|
self._EnFirstName = EnFirstName
|
|
18561
18574
|
|
|
18562
18575
|
@property
|
|
18563
|
-
def
|
|
18564
|
-
return self.
|
|
18565
|
-
|
|
18566
|
-
@Address.setter
|
|
18567
|
-
def Address(self, Address):
|
|
18568
|
-
self._Address = Address
|
|
18569
|
-
|
|
18570
|
-
@property
|
|
18571
|
-
def Birthday(self):
|
|
18572
|
-
return self._Birthday
|
|
18576
|
+
def EnLastName(self):
|
|
18577
|
+
return self._EnLastName
|
|
18573
18578
|
|
|
18574
|
-
@
|
|
18575
|
-
def
|
|
18576
|
-
self.
|
|
18579
|
+
@EnLastName.setter
|
|
18580
|
+
def EnLastName(self, EnLastName):
|
|
18581
|
+
self._EnLastName = EnLastName
|
|
18577
18582
|
|
|
18578
18583
|
@property
|
|
18579
18584
|
def IssueDate(self):
|
|
@@ -18592,12 +18597,20 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
18592
18597
|
self._ExpirationDate = ExpirationDate
|
|
18593
18598
|
|
|
18594
18599
|
@property
|
|
18595
|
-
def
|
|
18596
|
-
return self.
|
|
18600
|
+
def Birthday(self):
|
|
18601
|
+
return self._Birthday
|
|
18597
18602
|
|
|
18598
|
-
@
|
|
18599
|
-
def
|
|
18600
|
-
self.
|
|
18603
|
+
@Birthday.setter
|
|
18604
|
+
def Birthday(self, Birthday):
|
|
18605
|
+
self._Birthday = Birthday
|
|
18606
|
+
|
|
18607
|
+
@property
|
|
18608
|
+
def Address(self):
|
|
18609
|
+
return self._Address
|
|
18610
|
+
|
|
18611
|
+
@Address.setter
|
|
18612
|
+
def Address(self, Address):
|
|
18613
|
+
self._Address = Address
|
|
18601
18614
|
|
|
18602
18615
|
@property
|
|
18603
18616
|
def PortraitImage(self):
|
|
@@ -18620,11 +18633,11 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
18620
18633
|
self._ID = params.get("ID")
|
|
18621
18634
|
self._ThaiName = params.get("ThaiName")
|
|
18622
18635
|
self._EnFirstName = params.get("EnFirstName")
|
|
18623
|
-
self.
|
|
18624
|
-
self._Birthday = params.get("Birthday")
|
|
18636
|
+
self._EnLastName = params.get("EnLastName")
|
|
18625
18637
|
self._IssueDate = params.get("IssueDate")
|
|
18626
18638
|
self._ExpirationDate = params.get("ExpirationDate")
|
|
18627
|
-
self.
|
|
18639
|
+
self._Birthday = params.get("Birthday")
|
|
18640
|
+
self._Address = params.get("Address")
|
|
18628
18641
|
self._PortraitImage = params.get("PortraitImage")
|
|
18629
18642
|
self._RequestId = params.get("RequestId")
|
|
18630
18643
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1130
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1120
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|