tencentcloud-sdk-python-ocr 3.0.1318__tar.gz → 3.0.1320__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud/ocr/v20181119/models.py +46 -16
  5. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-ocr-3.0.1320/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-ocr-3.0.1318/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/README.rst +0 -0
  9. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud/ocr/__init__.py +0 -0
  11. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
  14. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ocr-3.0.1318 → tencentcloud-sdk-python-ocr-3.0.1320}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1318
3
+ Version: 3.0.1320
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
@@ -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.1318"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1320"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ocr SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1318'
17
+ __version__ = '3.0.1320'
@@ -12143,6 +12143,8 @@ class IDCardConfig(AbstractModel):
12143
12143
  :type InvalidDateWarn: bool
12144
12144
  :param _ReflectWarn: 是否开启反光检测,默认为false
12145
12145
  :type ReflectWarn: bool
12146
+ :param _CropPortrait: 是否开启头像剪切
12147
+ :type CropPortrait: bool
12146
12148
  """
12147
12149
  self._CopyWarn = None
12148
12150
  self._BorderCheckWarn = None
@@ -12151,6 +12153,7 @@ class IDCardConfig(AbstractModel):
12151
12153
  self._TempIdWarn = None
12152
12154
  self._InvalidDateWarn = None
12153
12155
  self._ReflectWarn = None
12156
+ self._CropPortrait = None
12154
12157
 
12155
12158
  @property
12156
12159
  def CopyWarn(self):
@@ -12229,6 +12232,17 @@ class IDCardConfig(AbstractModel):
12229
12232
  def ReflectWarn(self, ReflectWarn):
12230
12233
  self._ReflectWarn = ReflectWarn
12231
12234
 
12235
+ @property
12236
+ def CropPortrait(self):
12237
+ """是否开启头像剪切
12238
+ :rtype: bool
12239
+ """
12240
+ return self._CropPortrait
12241
+
12242
+ @CropPortrait.setter
12243
+ def CropPortrait(self, CropPortrait):
12244
+ self._CropPortrait = CropPortrait
12245
+
12232
12246
 
12233
12247
  def _deserialize(self, params):
12234
12248
  self._CopyWarn = params.get("CopyWarn")
@@ -12238,6 +12252,7 @@ class IDCardConfig(AbstractModel):
12238
12252
  self._TempIdWarn = params.get("TempIdWarn")
12239
12253
  self._InvalidDateWarn = params.get("InvalidDateWarn")
12240
12254
  self._ReflectWarn = params.get("ReflectWarn")
12255
+ self._CropPortrait = params.get("CropPortrait")
12241
12256
  memeber_set = set(params.keys())
12242
12257
  for name, value in vars(self).items():
12243
12258
  property_name = name[1:]
@@ -12466,28 +12481,28 @@ class IDCardInfoResult(AbstractModel):
12466
12481
  :param _WarnCodes: 警告代码
12467
12482
  注意:此字段可能返回 null,表示取不到有效值。
12468
12483
  :type WarnCodes: list of int
12469
- :param _Address: 地址
12484
+ :param _Address: 地址(人像面)
12470
12485
  注意:此字段可能返回 null,表示取不到有效值。
12471
12486
  :type Address: str
12472
- :param _Authority: 签发机关
12487
+ :param _Authority: 发证机关(国徽面)
12473
12488
  注意:此字段可能返回 null,表示取不到有效值。
12474
12489
  :type Authority: str
12475
- :param _Birth: 出生日期
12490
+ :param _Birth: 出生日期(人像面)
12476
12491
  注意:此字段可能返回 null,表示取不到有效值。
12477
12492
  :type Birth: str
12478
- :param _IdNum: 身份证号
12493
+ :param _IdNum: 身份证号(人像面)
12479
12494
  注意:此字段可能返回 null,表示取不到有效值。
12480
12495
  :type IdNum: str
12481
- :param _Name: 名字
12496
+ :param _Name: 名字(人像面)
12482
12497
  注意:此字段可能返回 null,表示取不到有效值。
12483
12498
  :type Name: str
12484
- :param _Nation: 地区
12499
+ :param _Nation: 民族(人像面)
12485
12500
  注意:此字段可能返回 null,表示取不到有效值。
12486
12501
  :type Nation: str
12487
- :param _Sex: 性别
12502
+ :param _Sex: 性别(人像面)
12488
12503
  注意:此字段可能返回 null,表示取不到有效值。
12489
12504
  :type Sex: str
12490
- :param _ValidDate: 到期时间
12505
+ :param _ValidDate: 证件有效期(国徽面)
12491
12506
  注意:此字段可能返回 null,表示取不到有效值。
12492
12507
  :type ValidDate: str
12493
12508
  :param _RequestId: 请求的id
@@ -12501,6 +12516,8 @@ class IDCardInfoResult(AbstractModel):
12501
12516
  :type ErrorMessage: str
12502
12517
  :param _ImageUrl: 原图地址
12503
12518
  :type ImageUrl: str
12519
+ :param _PortraitUrl: 身份证头像照片的地址(人像面)
12520
+ :type PortraitUrl: str
12504
12521
  """
12505
12522
  self._WarnCodes = None
12506
12523
  self._Address = None
@@ -12515,6 +12532,7 @@ class IDCardInfoResult(AbstractModel):
12515
12532
  self._ErrorCode = None
12516
12533
  self._ErrorMessage = None
12517
12534
  self._ImageUrl = None
12535
+ self._PortraitUrl = None
12518
12536
 
12519
12537
  @property
12520
12538
  def WarnCodes(self):
@@ -12530,7 +12548,7 @@ class IDCardInfoResult(AbstractModel):
12530
12548
 
12531
12549
  @property
12532
12550
  def Address(self):
12533
- """地址
12551
+ """地址(人像面)
12534
12552
  注意:此字段可能返回 null,表示取不到有效值。
12535
12553
  :rtype: str
12536
12554
  """
@@ -12542,7 +12560,7 @@ class IDCardInfoResult(AbstractModel):
12542
12560
 
12543
12561
  @property
12544
12562
  def Authority(self):
12545
- """签发机关
12563
+ """发证机关(国徽面)
12546
12564
  注意:此字段可能返回 null,表示取不到有效值。
12547
12565
  :rtype: str
12548
12566
  """
@@ -12554,7 +12572,7 @@ class IDCardInfoResult(AbstractModel):
12554
12572
 
12555
12573
  @property
12556
12574
  def Birth(self):
12557
- """出生日期
12575
+ """出生日期(人像面)
12558
12576
  注意:此字段可能返回 null,表示取不到有效值。
12559
12577
  :rtype: str
12560
12578
  """
@@ -12566,7 +12584,7 @@ class IDCardInfoResult(AbstractModel):
12566
12584
 
12567
12585
  @property
12568
12586
  def IdNum(self):
12569
- """身份证号
12587
+ """身份证号(人像面)
12570
12588
  注意:此字段可能返回 null,表示取不到有效值。
12571
12589
  :rtype: str
12572
12590
  """
@@ -12578,7 +12596,7 @@ class IDCardInfoResult(AbstractModel):
12578
12596
 
12579
12597
  @property
12580
12598
  def Name(self):
12581
- """名字
12599
+ """名字(人像面)
12582
12600
  注意:此字段可能返回 null,表示取不到有效值。
12583
12601
  :rtype: str
12584
12602
  """
@@ -12590,7 +12608,7 @@ class IDCardInfoResult(AbstractModel):
12590
12608
 
12591
12609
  @property
12592
12610
  def Nation(self):
12593
- """地区
12611
+ """民族(人像面)
12594
12612
  注意:此字段可能返回 null,表示取不到有效值。
12595
12613
  :rtype: str
12596
12614
  """
@@ -12602,7 +12620,7 @@ class IDCardInfoResult(AbstractModel):
12602
12620
 
12603
12621
  @property
12604
12622
  def Sex(self):
12605
- """性别
12623
+ """性别(人像面)
12606
12624
  注意:此字段可能返回 null,表示取不到有效值。
12607
12625
  :rtype: str
12608
12626
  """
@@ -12614,7 +12632,7 @@ class IDCardInfoResult(AbstractModel):
12614
12632
 
12615
12633
  @property
12616
12634
  def ValidDate(self):
12617
- """到期时间
12635
+ """证件有效期(国徽面)
12618
12636
  注意:此字段可能返回 null,表示取不到有效值。
12619
12637
  :rtype: str
12620
12638
  """
@@ -12671,6 +12689,17 @@ class IDCardInfoResult(AbstractModel):
12671
12689
  def ImageUrl(self, ImageUrl):
12672
12690
  self._ImageUrl = ImageUrl
12673
12691
 
12692
+ @property
12693
+ def PortraitUrl(self):
12694
+ """身份证头像照片的地址(人像面)
12695
+ :rtype: str
12696
+ """
12697
+ return self._PortraitUrl
12698
+
12699
+ @PortraitUrl.setter
12700
+ def PortraitUrl(self, PortraitUrl):
12701
+ self._PortraitUrl = PortraitUrl
12702
+
12674
12703
 
12675
12704
  def _deserialize(self, params):
12676
12705
  self._WarnCodes = params.get("WarnCodes")
@@ -12686,6 +12715,7 @@ class IDCardInfoResult(AbstractModel):
12686
12715
  self._ErrorCode = params.get("ErrorCode")
12687
12716
  self._ErrorMessage = params.get("ErrorMessage")
12688
12717
  self._ImageUrl = params.get("ImageUrl")
12718
+ self._PortraitUrl = params.get("PortraitUrl")
12689
12719
  memeber_set = set(params.keys())
12690
12720
  for name, value in vars(self).items():
12691
12721
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1318
3
+ Version: 3.0.1320
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1320
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1318