tencentcloud-sdk-ocr 1.0.241 → 1.0.242
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +3 -1
- data/lib/v20181119/models.rb +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6535aab48471d3da30517571610ea26d708eb6d7
|
4
|
+
data.tar.gz: 72dd2fe597b4db51d8d816c5274640522740c786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a198cc32f1d131dfdd850257c7402bc52190ba77ccc092dd26124143db81395ba3d54dd01737caa93a7b24ba09165eb82fc98e8f611023e94d07d734d45ab5
|
7
|
+
data.tar.gz: bb35f5a52cb8bfb73526d5b2bdd866fbd0e18d7eacd2781c2d27d331dc9afba940d1e809561d95c58e8bb2bb6c3d5655030c314ca0000094c27c10245c8ff039
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.242
|
data/lib/v20181119/client.rb
CHANGED
@@ -254,7 +254,9 @@ module TencentCloud
|
|
254
254
|
|
255
255
|
# 驾驶证副页:包括证号、姓名、档案编号、记录。
|
256
256
|
|
257
|
-
# 另外,本接口还支持复印件、翻拍和PS
|
257
|
+
# 另外,本接口还支持复印件、翻拍和PS告警功能。同时支持识别交管12123APP发放的电子驾驶证正页。
|
258
|
+
|
259
|
+
# 电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
258
260
|
|
259
261
|
# @param request: Request instance for DriverLicenseOCR.
|
260
262
|
# @type request: :class:`Tencentcloud::ocr::V20181119::DriverLicenseOCRRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -1078,12 +1078,16 @@ module TencentCloud
|
|
1078
1078
|
# @type RecognizeWarnMsg: Array
|
1079
1079
|
# @param IssuingAuthority: 发证单位
|
1080
1080
|
# @type IssuingAuthority: String
|
1081
|
+
# @param State: 状态(仅电子驾驶证支持返回该字段)
|
1082
|
+
# @type State: String
|
1083
|
+
# @param CumulativeScore: 累积记分(仅电子驾驶证支持返回该字段)
|
1084
|
+
# @type CumulativeScore: String
|
1081
1085
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1082
1086
|
# @type RequestId: String
|
1083
1087
|
|
1084
|
-
attr_accessor :Name, :Sex, :Nationality, :Address, :DateOfBirth, :DateOfFirstIssue, :Class, :StartDate, :EndDate, :CardCode, :ArchivesCode, :Record, :RecognizeWarnCode, :RecognizeWarnMsg, :IssuingAuthority, :RequestId
|
1088
|
+
attr_accessor :Name, :Sex, :Nationality, :Address, :DateOfBirth, :DateOfFirstIssue, :Class, :StartDate, :EndDate, :CardCode, :ArchivesCode, :Record, :RecognizeWarnCode, :RecognizeWarnMsg, :IssuingAuthority, :State, :CumulativeScore, :RequestId
|
1085
1089
|
|
1086
|
-
def initialize(name=nil, sex=nil, nationality=nil, address=nil, dateofbirth=nil, dateoffirstissue=nil, _class=nil, startdate=nil, enddate=nil, cardcode=nil, archivescode=nil, record=nil, recognizewarncode=nil, recognizewarnmsg=nil, issuingauthority=nil, requestid=nil)
|
1090
|
+
def initialize(name=nil, sex=nil, nationality=nil, address=nil, dateofbirth=nil, dateoffirstissue=nil, _class=nil, startdate=nil, enddate=nil, cardcode=nil, archivescode=nil, record=nil, recognizewarncode=nil, recognizewarnmsg=nil, issuingauthority=nil, state=nil, cumulativescore=nil, requestid=nil)
|
1087
1091
|
@Name = name
|
1088
1092
|
@Sex = sex
|
1089
1093
|
@Nationality = nationality
|
@@ -1099,6 +1103,8 @@ module TencentCloud
|
|
1099
1103
|
@RecognizeWarnCode = recognizewarncode
|
1100
1104
|
@RecognizeWarnMsg = recognizewarnmsg
|
1101
1105
|
@IssuingAuthority = issuingauthority
|
1106
|
+
@State = state
|
1107
|
+
@CumulativeScore = cumulativescore
|
1102
1108
|
@RequestId = requestid
|
1103
1109
|
end
|
1104
1110
|
|
@@ -1118,6 +1124,8 @@ module TencentCloud
|
|
1118
1124
|
@RecognizeWarnCode = params['RecognizeWarnCode']
|
1119
1125
|
@RecognizeWarnMsg = params['RecognizeWarnMsg']
|
1120
1126
|
@IssuingAuthority = params['IssuingAuthority']
|
1127
|
+
@State = params['State']
|
1128
|
+
@CumulativeScore = params['CumulativeScore']
|
1121
1129
|
@RequestId = params['RequestId']
|
1122
1130
|
end
|
1123
1131
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.242
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|