tencentcloud-sdk-python-ocr 3.0.1449__tar.gz → 3.0.1455__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.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud/ocr/v20181119/models.py +59 -0
  5. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-ocr-3.0.1455/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-ocr-3.0.1449/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/README.rst +0 -0
  9. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud/ocr/__init__.py +0 -0
  11. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
  14. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ocr-3.0.1449 → tencentcloud-sdk-python-ocr-3.0.1455}/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.1449
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
@@ -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.1449,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1455,<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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1449'
17
+ __version__ = '3.0.1455'
@@ -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: 1.2
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1449
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1455
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1449