tencentcloud-sdk-python-ocr 3.0.1269__tar.gz → 3.0.1274__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.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud/ocr/v20181119/models.py +76 -0
  5. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-ocr-3.0.1274/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-ocr-3.0.1269/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/README.rst +0 -0
  9. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud/ocr/__init__.py +0 -0
  11. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
  14. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ocr-3.0.1269 → tencentcloud-sdk-python-ocr-3.0.1274}/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.1269
3
+ Version: 3.0.1274
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.1269"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1274"],
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.1269'
17
+ __version__ = '3.0.1274'
@@ -25837,6 +25837,16 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
25837
25837
  -9108 证件模糊告警
25838
25838
  -9109 告警能力未开通
25839
25839
  :type WarnCardInfos: list of int
25840
+ :param _AdvancedInfo: 字段置信度:
25841
+ {
25842
+ "ID": {
25843
+ "Confidence": 0.9999
25844
+ },
25845
+ "ThaiName": {
25846
+ "Confidence": 0.9996
25847
+ }
25848
+ }
25849
+ :type AdvancedInfo: str
25840
25850
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25841
25851
  :type RequestId: str
25842
25852
  """
@@ -25855,6 +25865,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
25855
25865
  self._Address = None
25856
25866
  self._PortraitImage = None
25857
25867
  self._WarnCardInfos = None
25868
+ self._AdvancedInfo = None
25858
25869
  self._RequestId = None
25859
25870
 
25860
25871
  @property
@@ -26028,6 +26039,25 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
26028
26039
  def WarnCardInfos(self, WarnCardInfos):
26029
26040
  self._WarnCardInfos = WarnCardInfos
26030
26041
 
26042
+ @property
26043
+ def AdvancedInfo(self):
26044
+ """字段置信度:
26045
+ {
26046
+ "ID": {
26047
+ "Confidence": 0.9999
26048
+ },
26049
+ "ThaiName": {
26050
+ "Confidence": 0.9996
26051
+ }
26052
+ }
26053
+ :rtype: str
26054
+ """
26055
+ return self._AdvancedInfo
26056
+
26057
+ @AdvancedInfo.setter
26058
+ def AdvancedInfo(self, AdvancedInfo):
26059
+ self._AdvancedInfo = AdvancedInfo
26060
+
26031
26061
  @property
26032
26062
  def RequestId(self):
26033
26063
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -26056,6 +26086,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
26056
26086
  self._Address = params.get("Address")
26057
26087
  self._PortraitImage = params.get("PortraitImage")
26058
26088
  self._WarnCardInfos = params.get("WarnCardInfos")
26089
+ self._AdvancedInfo = params.get("AdvancedInfo")
26059
26090
  self._RequestId = params.get("RequestId")
26060
26091
 
26061
26092
 
@@ -32873,6 +32904,10 @@ class TextVehicleBack(AbstractModel):
32873
32904
 
32874
32905
  注意:此字段可能返回 null,表示取不到有效值。
32875
32906
  :type FuelType: str
32907
+ :param _AddressElectronic: 住址
32908
+ :type AddressElectronic: str
32909
+ :param _IssueAuthorityElectronic: 发证机关
32910
+ :type IssueAuthorityElectronic: str
32876
32911
  """
32877
32912
  self._PlateNo = None
32878
32913
  self._FileNo = None
@@ -32886,6 +32921,8 @@ class TextVehicleBack(AbstractModel):
32886
32921
  self._TotalQuasiMass = None
32887
32922
  self._SubPageCode = None
32888
32923
  self._FuelType = None
32924
+ self._AddressElectronic = None
32925
+ self._IssueAuthorityElectronic = None
32889
32926
 
32890
32927
  @property
32891
32928
  def PlateNo(self):
@@ -33032,6 +33069,28 @@ class TextVehicleBack(AbstractModel):
33032
33069
  def FuelType(self, FuelType):
33033
33070
  self._FuelType = FuelType
33034
33071
 
33072
+ @property
33073
+ def AddressElectronic(self):
33074
+ """住址
33075
+ :rtype: str
33076
+ """
33077
+ return self._AddressElectronic
33078
+
33079
+ @AddressElectronic.setter
33080
+ def AddressElectronic(self, AddressElectronic):
33081
+ self._AddressElectronic = AddressElectronic
33082
+
33083
+ @property
33084
+ def IssueAuthorityElectronic(self):
33085
+ """发证机关
33086
+ :rtype: str
33087
+ """
33088
+ return self._IssueAuthorityElectronic
33089
+
33090
+ @IssueAuthorityElectronic.setter
33091
+ def IssueAuthorityElectronic(self, IssueAuthorityElectronic):
33092
+ self._IssueAuthorityElectronic = IssueAuthorityElectronic
33093
+
33035
33094
 
33036
33095
  def _deserialize(self, params):
33037
33096
  self._PlateNo = params.get("PlateNo")
@@ -33046,6 +33105,8 @@ class TextVehicleBack(AbstractModel):
33046
33105
  self._TotalQuasiMass = params.get("TotalQuasiMass")
33047
33106
  self._SubPageCode = params.get("SubPageCode")
33048
33107
  self._FuelType = params.get("FuelType")
33108
+ self._AddressElectronic = params.get("AddressElectronic")
33109
+ self._IssueAuthorityElectronic = params.get("IssueAuthorityElectronic")
33049
33110
  memeber_set = set(params.keys())
33050
33111
  for name, value in vars(self).items():
33051
33112
  property_name = name[1:]
@@ -40053,6 +40114,8 @@ WARN_DRIVER_LICENSE_BLUR 模糊告警
40053
40114
  WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
40054
40115
  注:告警信息可以同时存在多个
40055
40116
  :type RecognizeWarnMsg: list of str
40117
+ :param _VehicleLicenseType: 行驶证类型 电子行驶证:Electronic 普通行驶证:Normal
40118
+ :type VehicleLicenseType: str
40056
40119
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40057
40120
  :type RequestId: str
40058
40121
  """
@@ -40060,6 +40123,7 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
40060
40123
  self._BackInfo = None
40061
40124
  self._RecognizeWarnCode = None
40062
40125
  self._RecognizeWarnMsg = None
40126
+ self._VehicleLicenseType = None
40063
40127
  self._RequestId = None
40064
40128
 
40065
40129
  @property
@@ -40120,6 +40184,17 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
40120
40184
  def RecognizeWarnMsg(self, RecognizeWarnMsg):
40121
40185
  self._RecognizeWarnMsg = RecognizeWarnMsg
40122
40186
 
40187
+ @property
40188
+ def VehicleLicenseType(self):
40189
+ """行驶证类型 电子行驶证:Electronic 普通行驶证:Normal
40190
+ :rtype: str
40191
+ """
40192
+ return self._VehicleLicenseType
40193
+
40194
+ @VehicleLicenseType.setter
40195
+ def VehicleLicenseType(self, VehicleLicenseType):
40196
+ self._VehicleLicenseType = VehicleLicenseType
40197
+
40123
40198
  @property
40124
40199
  def RequestId(self):
40125
40200
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -40141,6 +40216,7 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
40141
40216
  self._BackInfo._deserialize(params.get("BackInfo"))
40142
40217
  self._RecognizeWarnCode = params.get("RecognizeWarnCode")
40143
40218
  self._RecognizeWarnMsg = params.get("RecognizeWarnMsg")
40219
+ self._VehicleLicenseType = params.get("VehicleLicenseType")
40144
40220
  self._RequestId = params.get("RequestId")
40145
40221
 
40146
40222
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1269
3
+ Version: 3.0.1274
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.1274
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1269