tencentcloud-sdk-ocr 3.0.1199 → 3.0.1203
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +8 -8
- 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: fb20d6b899b8f844b64cd0f3d9c46361130de092
|
|
4
|
+
data.tar.gz: 46de0eb8e2a63948051c0e0e27d15cc5532a0ae6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 168cc5a5f11e8644f32361bfe5cc72d153217140648e591224bd792465553e9cd03e109dd39d39fbde18f78dbf89d3c20a26e1bce840f8023615d6eee2ec386f
|
|
7
|
+
data.tar.gz: a8e1c2e5347b15f2a06f739945a04d4df17fc9b76d852d44e799470f65aad26e578bb4c9296d6b9ca4807d1fb43365a910e5d09480b0c8be2c478a398f08bf5e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1203
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -6241,17 +6241,19 @@ module TencentCloud
|
|
|
6241
6241
|
# @type WarnCardInfos: Array
|
|
6242
6242
|
# @param CardCount: 输入图片中的卡证数量(仅请求曼谷地域[ap-bangkok]返回)
|
|
6243
6243
|
# @type CardCount: Integer
|
|
6244
|
+
# @param IsComplete: 是否完整
|
|
6245
|
+
# @type IsComplete: Boolean
|
|
6244
6246
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6245
6247
|
# @type RequestId: String
|
|
6246
6248
|
|
|
6247
|
-
attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
|
|
6249
|
+
attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :IsComplete, :RequestId
|
|
6248
6250
|
extend Gem::Deprecate
|
|
6249
6251
|
deprecate :Warn, :none, 2026, 1
|
|
6250
6252
|
deprecate :Warn=, :none, 2026, 1
|
|
6251
6253
|
deprecate :AdvancedInfo, :none, 2026, 1
|
|
6252
6254
|
deprecate :AdvancedInfo=, :none, 2026, 1
|
|
6253
6255
|
|
|
6254
|
-
def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, requestid=nil)
|
|
6256
|
+
def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, iscomplete=nil, requestid=nil)
|
|
6255
6257
|
@ID = id
|
|
6256
6258
|
@Name = name
|
|
6257
6259
|
@DateOfBirth = dateofbirth
|
|
@@ -6270,6 +6272,7 @@ module TencentCloud
|
|
|
6270
6272
|
@PassportRecognizeInfos = passportrecognizeinfos
|
|
6271
6273
|
@WarnCardInfos = warncardinfos
|
|
6272
6274
|
@CardCount = cardcount
|
|
6275
|
+
@IsComplete = iscomplete
|
|
6273
6276
|
@RequestId = requestid
|
|
6274
6277
|
end
|
|
6275
6278
|
|
|
@@ -6295,6 +6298,7 @@ module TencentCloud
|
|
|
6295
6298
|
end
|
|
6296
6299
|
@WarnCardInfos = params['WarnCardInfos']
|
|
6297
6300
|
@CardCount = params['CardCount']
|
|
6301
|
+
@IsComplete = params['IsComplete']
|
|
6298
6302
|
@RequestId = params['RequestId']
|
|
6299
6303
|
end
|
|
6300
6304
|
end
|
|
@@ -9719,17 +9723,15 @@ module TencentCloud
|
|
|
9719
9723
|
# @type AdvancedInfo: String
|
|
9720
9724
|
# @param CardCount: 卡证正面图片中,证件主体的数量(仅请求曼谷地域[ap-bangkok]返回)
|
|
9721
9725
|
# @type CardCount: Integer
|
|
9722
|
-
# @param IsComplete: 卡证字段是否完整,true:完整;false:不完整
|
|
9723
|
-
# @type IsComplete: Boolean
|
|
9724
9726
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9725
9727
|
# @type RequestId: String
|
|
9726
9728
|
|
|
9727
|
-
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :
|
|
9729
|
+
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
|
|
9728
9730
|
extend Gem::Deprecate
|
|
9729
9731
|
deprecate :AdvancedInfo, :none, 2026, 1
|
|
9730
9732
|
deprecate :AdvancedInfo=, :none, 2026, 1
|
|
9731
9733
|
|
|
9732
|
-
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil,
|
|
9734
|
+
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, requestid=nil)
|
|
9733
9735
|
@ID = id
|
|
9734
9736
|
@ThaiName = thainame
|
|
9735
9737
|
@EnFirstName = enfirstname
|
|
@@ -9748,7 +9750,6 @@ module TencentCloud
|
|
|
9748
9750
|
@WarnCardInfos = warncardinfos
|
|
9749
9751
|
@AdvancedInfo = advancedinfo
|
|
9750
9752
|
@CardCount = cardcount
|
|
9751
|
-
@IsComplete = iscomplete
|
|
9752
9753
|
@RequestId = requestid
|
|
9753
9754
|
end
|
|
9754
9755
|
|
|
@@ -9771,7 +9772,6 @@ module TencentCloud
|
|
|
9771
9772
|
@WarnCardInfos = params['WarnCardInfos']
|
|
9772
9773
|
@AdvancedInfo = params['AdvancedInfo']
|
|
9773
9774
|
@CardCount = params['CardCount']
|
|
9774
|
-
@IsComplete = params['IsComplete']
|
|
9775
9775
|
@RequestId = params['RequestId']
|
|
9776
9776
|
end
|
|
9777
9777
|
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: 3.0.
|
|
4
|
+
version: 3.0.1203
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|