tencentcloud-sdk-python-ocr 3.0.1321__tar.gz → 3.0.1322__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.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud/ocr/v20181119/models.py +15 -0
  5. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-ocr-3.0.1322/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-ocr-3.0.1321/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/README.rst +0 -0
  9. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud/ocr/__init__.py +0 -0
  11. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
  14. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ocr-3.0.1321 → tencentcloud-sdk-python-ocr-3.0.1322}/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.1321
3
+ Version: 3.0.1322
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.1321"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1322"],
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.1321'
17
+ __version__ = '3.0.1322'
@@ -21593,12 +21593,15 @@ class QuestionSplitOCRRequest(AbstractModel):
21593
21593
  :type PdfPageNumber: int
21594
21594
  :param _EnableImageCrop: 是否开启切边增强和弯曲矫正,默认为false不开启
21595
21595
  :type EnableImageCrop: bool
21596
+ :param _EnableOnlyDetectBorder: 是否只返回检测框,默认false
21597
+ :type EnableOnlyDetectBorder: bool
21596
21598
  """
21597
21599
  self._ImageUrl = None
21598
21600
  self._ImageBase64 = None
21599
21601
  self._IsPdf = None
21600
21602
  self._PdfPageNumber = None
21601
21603
  self._EnableImageCrop = None
21604
+ self._EnableOnlyDetectBorder = None
21602
21605
 
21603
21606
  @property
21604
21607
  def ImageUrl(self):
@@ -21655,6 +21658,17 @@ class QuestionSplitOCRRequest(AbstractModel):
21655
21658
  def EnableImageCrop(self, EnableImageCrop):
21656
21659
  self._EnableImageCrop = EnableImageCrop
21657
21660
 
21661
+ @property
21662
+ def EnableOnlyDetectBorder(self):
21663
+ """是否只返回检测框,默认false
21664
+ :rtype: bool
21665
+ """
21666
+ return self._EnableOnlyDetectBorder
21667
+
21668
+ @EnableOnlyDetectBorder.setter
21669
+ def EnableOnlyDetectBorder(self, EnableOnlyDetectBorder):
21670
+ self._EnableOnlyDetectBorder = EnableOnlyDetectBorder
21671
+
21658
21672
 
21659
21673
  def _deserialize(self, params):
21660
21674
  self._ImageUrl = params.get("ImageUrl")
@@ -21662,6 +21676,7 @@ class QuestionSplitOCRRequest(AbstractModel):
21662
21676
  self._IsPdf = params.get("IsPdf")
21663
21677
  self._PdfPageNumber = params.get("PdfPageNumber")
21664
21678
  self._EnableImageCrop = params.get("EnableImageCrop")
21679
+ self._EnableOnlyDetectBorder = params.get("EnableOnlyDetectBorder")
21665
21680
  memeber_set = set(params.keys())
21666
21681
  for name, value in vars(self).items():
21667
21682
  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.1321
3
+ Version: 3.0.1322
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.1322
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1321