tencentcloud-sdk-ocr 3.0.705 → 3.0.707

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +79 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f71c4d47badb66c471622d9b0e67538b26cc716a
4
- data.tar.gz: 3fda274ccca1890c23254974d7f58c3663ed5f85
3
+ metadata.gz: be095bb37843f8b871c310ef37ce018a18f54d84
4
+ data.tar.gz: 2664d98901e0c57cb367ab7fcb20f06cac68c179
5
5
  SHA512:
6
- metadata.gz: c4559c7876aef30d42b75b29c54b8dbdd86cc643ca36227880da1686be65f27b254a4cf071f95a89f51933d229d184c6a9648600c275234b16fa4fc7761a8859
7
- data.tar.gz: e4771681d3112cacf7d12b337396c5ce03072d0a273fdb840c63cf860aa812cfb4850e2f1c3ab1fae2a5716e466e74cd473b673f9e4d2e6bc147e4d2087f7b43
6
+ metadata.gz: 81e39c5185790c18c0169f54a79cb417ecd266063cc294dd6baae17e92699e4d260cd45fac8ab7a4d29d7df115c1c706475671774b5e9ac17111f9c5eddc4125
7
+ data.tar.gz: e0682fea85e12a3f39c03d901247d45ab1b6a1f5ec87f4f67117cfbfdfef9d80d60df871bdcc8c50ba22451166ff453829fce452365dc79509e80ba61c043ff1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.705
1
+ 3.0.707
@@ -4002,21 +4002,21 @@ module TencentCloud
4002
4002
 
4003
4003
  # MLIDPassportOCR返回参数结构体
4004
4004
  class MLIDPassportOCRResponse < TencentCloud::Common::AbstractModel
4005
- # @param ID: 护照ID
4005
+ # @param ID: 护照ID(机读码区的解析结果)
4006
4006
  # @type ID: String
4007
- # @param Name: 姓名
4007
+ # @param Name: 姓名(机读码区的解析结果)
4008
4008
  # @type Name: String
4009
- # @param DateOfBirth: 出生日期
4009
+ # @param DateOfBirth: 出生日期(机读码区的解析结果)
4010
4010
  # @type DateOfBirth: String
4011
- # @param Sex: 性别(F女,M男)
4011
+ # @param Sex: 性别(F女,M男)(机读码区的解析结果)
4012
4012
  # @type Sex: String
4013
- # @param DateOfExpiration: 有效期
4013
+ # @param DateOfExpiration: 有效期(机读码区的解析结果)
4014
4014
  # @type DateOfExpiration: String
4015
- # @param IssuingCountry: 发行国
4015
+ # @param IssuingCountry: 发行国(机读码区的解析结果)
4016
4016
  # @type IssuingCountry: String
4017
- # @param Nationality: 国家地区代码
4017
+ # @param Nationality: 国家地区代码(机读码区的解析结果)
4018
4018
  # @type Nationality: String
4019
- # @param Warn: 告警码
4019
+ # @param Warn: 告警码:
4020
4020
  # -9103 证照翻拍告警
4021
4021
  # -9102 证照复印件告警(包括黑白复印件、彩色复印件)
4022
4022
  # -9106 证件遮挡告警
@@ -4037,18 +4037,22 @@ module TencentCloud
4037
4037
  # @type CodeSet: String
4038
4038
  # @param CodeCrc: 最下方第二行 MRZ Code 序列
4039
4039
  # @type CodeCrc: String
4040
- # @param Surname:
4040
+ # @param Surname: 姓(机读码区的解析结果)
4041
4041
  # 注意:此字段可能返回 null,表示取不到有效值。
4042
4042
  # @type Surname: String
4043
- # @param GivenName:
4043
+ # @param GivenName: 名(机读码区的解析结果)
4044
4044
  # 注意:此字段可能返回 null,表示取不到有效值。
4045
4045
  # @type GivenName: String
4046
+ # @param Type: 类型(机读码区的解析结果)
4047
+ # @type Type: String
4048
+ # @param PassportRecognizeInfos: 信息区证件内容
4049
+ # @type PassportRecognizeInfos: :class:`Tencentcloud::Ocr.v20181119.models.PassportRecognizeInfos`
4046
4050
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4047
4051
  # @type RequestId: String
4048
4052
 
4049
- attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :RequestId
4053
+ attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :RequestId
4050
4054
 
4051
- 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, requestid=nil)
4055
+ 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, requestid=nil)
4052
4056
  @ID = id
4053
4057
  @Name = name
4054
4058
  @DateOfBirth = dateofbirth
@@ -4063,6 +4067,8 @@ module TencentCloud
4063
4067
  @CodeCrc = codecrc
4064
4068
  @Surname = surname
4065
4069
  @GivenName = givenname
4070
+ @Type = type
4071
+ @PassportRecognizeInfos = passportrecognizeinfos
4066
4072
  @RequestId = requestid
4067
4073
  end
4068
4074
 
@@ -4081,6 +4087,11 @@ module TencentCloud
4081
4087
  @CodeCrc = params['CodeCrc']
4082
4088
  @Surname = params['Surname']
4083
4089
  @GivenName = params['GivenName']
4090
+ @Type = params['Type']
4091
+ unless params['PassportRecognizeInfos'].nil?
4092
+ @PassportRecognizeInfos = PassportRecognizeInfos.new
4093
+ @PassportRecognizeInfos.deserialize(params['PassportRecognizeInfos'])
4094
+ end
4084
4095
  @RequestId = params['RequestId']
4085
4096
  end
4086
4097
  end
@@ -5362,6 +5373,62 @@ module TencentCloud
5362
5373
  end
5363
5374
  end
5364
5375
 
5376
+ # 信息区证件内容
5377
+ class PassportRecognizeInfos < TencentCloud::Common::AbstractModel
5378
+ # @param Type: 证件类型(护照信息页识别结果)
5379
+ # @type Type: String
5380
+ # @param IssuingCountry: 发行国家(护照信息页识别结果)
5381
+ # @type IssuingCountry: String
5382
+ # @param PassportID: 护照号码(护照信息页识别结果)
5383
+ # @type PassportID: String
5384
+ # @param Surname: 姓(护照信息页识别结果)
5385
+ # @type Surname: String
5386
+ # @param GivenName: 名(护照信息页识别结果)
5387
+ # @type GivenName: String
5388
+ # @param Name: 姓名(护照信息页识别结果)
5389
+ # @type Name: String
5390
+ # @param Nationality: 国籍信息(护照信息页识别结果)
5391
+ # @type Nationality: String
5392
+ # @param DateOfBirth: 出生日期(护照信息页识别结果)
5393
+ # @type DateOfBirth: String
5394
+ # @param Sex: 性别(护照信息页识别结果)
5395
+ # @type Sex: String
5396
+ # @param DateOfIssuance: 发行日期(护照信息页识别结果)
5397
+ # @type DateOfIssuance: String
5398
+ # @param DateOfExpiration: 截止日期(护照信息页识别结果)
5399
+ # @type DateOfExpiration: String
5400
+
5401
+ attr_accessor :Type, :IssuingCountry, :PassportID, :Surname, :GivenName, :Name, :Nationality, :DateOfBirth, :Sex, :DateOfIssuance, :DateOfExpiration
5402
+
5403
+ def initialize(type=nil, issuingcountry=nil, passportid=nil, surname=nil, givenname=nil, name=nil, nationality=nil, dateofbirth=nil, sex=nil, dateofissuance=nil, dateofexpiration=nil)
5404
+ @Type = type
5405
+ @IssuingCountry = issuingcountry
5406
+ @PassportID = passportid
5407
+ @Surname = surname
5408
+ @GivenName = givenname
5409
+ @Name = name
5410
+ @Nationality = nationality
5411
+ @DateOfBirth = dateofbirth
5412
+ @Sex = sex
5413
+ @DateOfIssuance = dateofissuance
5414
+ @DateOfExpiration = dateofexpiration
5415
+ end
5416
+
5417
+ def deserialize(params)
5418
+ @Type = params['Type']
5419
+ @IssuingCountry = params['IssuingCountry']
5420
+ @PassportID = params['PassportID']
5421
+ @Surname = params['Surname']
5422
+ @GivenName = params['GivenName']
5423
+ @Name = params['Name']
5424
+ @Nationality = params['Nationality']
5425
+ @DateOfBirth = params['DateOfBirth']
5426
+ @Sex = params['Sex']
5427
+ @DateOfIssuance = params['DateOfIssuance']
5428
+ @DateOfExpiration = params['DateOfExpiration']
5429
+ end
5430
+ end
5431
+
5365
5432
  # PermitOCR请求参数结构体
5366
5433
  class PermitOCRRequest < TencentCloud::Common::AbstractModel
5367
5434
  # @param ImageBase64: 图片的 Base64 值。
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.705
4
+ version: 3.0.707
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-16 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common