tencentcloud-sdk-ocr 3.0.997 → 3.0.998

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +20 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 904eda60faa732f2d2ddad83c577b2e3a4a2acc9
4
- data.tar.gz: 657c45d03fb5f689b558dea31da79823dbf8f7a2
3
+ metadata.gz: cf8b9b6fc4a513ccc0da416ba87696e1b12b9526
4
+ data.tar.gz: 7b5a05d955363a919329da1359d0a10ebd11667d
5
5
  SHA512:
6
- metadata.gz: 7a6fa92cf5268764379f5827fd1e7966d9684162efa2198a45b43186f17ede2de7f6b3f7543dbda05d9adb844a8005f551a7e764684b31733c25a6edb35f822f
7
- data.tar.gz: 8dcdb92f07daac80a63f273746d3ded93026b3a2f4975550b1cf31ce2d4f60ef7ca5c85b55d3e2773f9ef05b9acf1c6a57de1beb9e53c8083486458a33e4056e
6
+ metadata.gz: 485287adb2aca3aee33d6e169f9045ac2eaa7b0c6276f5f2afa88d87bc2ee220fb897d02836ce7377fe73f01ced933aedf0a67f30755c303e51ecf73b3036a03
7
+ data.tar.gz: 5449600c2f2552c7e85d1de694292a8ee473357a377abbd1262d6e01aa70fd0dd8f21ec81f5ece9bc4ff2435f3a33a4717e920fbad142fddbd68978faf8fa05f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.997
1
+ 3.0.998
@@ -4421,10 +4421,12 @@ module TencentCloud
4421
4421
  # @type InvalidDateWarn: Boolean
4422
4422
  # @param ReflectWarn: 是否开启反光检测,默认为false
4423
4423
  # @type ReflectWarn: Boolean
4424
+ # @param CropPortrait: 是否开启头像剪切
4425
+ # @type CropPortrait: Boolean
4424
4426
 
4425
- attr_accessor :CopyWarn, :BorderCheckWarn, :ReshootWarn, :DetectPsWarn, :TempIdWarn, :InvalidDateWarn, :ReflectWarn
4427
+ attr_accessor :CopyWarn, :BorderCheckWarn, :ReshootWarn, :DetectPsWarn, :TempIdWarn, :InvalidDateWarn, :ReflectWarn, :CropPortrait
4426
4428
 
4427
- def initialize(copywarn=nil, bordercheckwarn=nil, reshootwarn=nil, detectpswarn=nil, tempidwarn=nil, invaliddatewarn=nil, reflectwarn=nil)
4429
+ def initialize(copywarn=nil, bordercheckwarn=nil, reshootwarn=nil, detectpswarn=nil, tempidwarn=nil, invaliddatewarn=nil, reflectwarn=nil, cropportrait=nil)
4428
4430
  @CopyWarn = copywarn
4429
4431
  @BorderCheckWarn = bordercheckwarn
4430
4432
  @ReshootWarn = reshootwarn
@@ -4432,6 +4434,7 @@ module TencentCloud
4432
4434
  @TempIdWarn = tempidwarn
4433
4435
  @InvalidDateWarn = invaliddatewarn
4434
4436
  @ReflectWarn = reflectwarn
4437
+ @CropPortrait = cropportrait
4435
4438
  end
4436
4439
 
4437
4440
  def deserialize(params)
@@ -4442,6 +4445,7 @@ module TencentCloud
4442
4445
  @TempIdWarn = params['TempIdWarn']
4443
4446
  @InvalidDateWarn = params['InvalidDateWarn']
4444
4447
  @ReflectWarn = params['ReflectWarn']
4448
+ @CropPortrait = params['CropPortrait']
4445
4449
  end
4446
4450
  end
4447
4451
 
@@ -4539,28 +4543,28 @@ module TencentCloud
4539
4543
  # @param WarnCodes: 警告代码
4540
4544
  # 注意:此字段可能返回 null,表示取不到有效值。
4541
4545
  # @type WarnCodes: Array
4542
- # @param Address: 地址
4546
+ # @param Address: 地址(人像面)
4543
4547
  # 注意:此字段可能返回 null,表示取不到有效值。
4544
4548
  # @type Address: String
4545
- # @param Authority: 签发机关
4549
+ # @param Authority: 发证机关(国徽面)
4546
4550
  # 注意:此字段可能返回 null,表示取不到有效值。
4547
4551
  # @type Authority: String
4548
- # @param Birth: 出生日期
4552
+ # @param Birth: 出生日期(人像面)
4549
4553
  # 注意:此字段可能返回 null,表示取不到有效值。
4550
4554
  # @type Birth: String
4551
- # @param IdNum: 身份证号
4555
+ # @param IdNum: 身份证号(人像面)
4552
4556
  # 注意:此字段可能返回 null,表示取不到有效值。
4553
4557
  # @type IdNum: String
4554
- # @param Name: 名字
4558
+ # @param Name: 名字(人像面)
4555
4559
  # 注意:此字段可能返回 null,表示取不到有效值。
4556
4560
  # @type Name: String
4557
- # @param Nation: 地区
4561
+ # @param Nation: 民族(人像面)
4558
4562
  # 注意:此字段可能返回 null,表示取不到有效值。
4559
4563
  # @type Nation: String
4560
- # @param Sex: 性别
4564
+ # @param Sex: 性别(人像面)
4561
4565
  # 注意:此字段可能返回 null,表示取不到有效值。
4562
4566
  # @type Sex: String
4563
- # @param ValidDate: 到期时间
4567
+ # @param ValidDate: 证件有效期(国徽面)
4564
4568
  # 注意:此字段可能返回 null,表示取不到有效值。
4565
4569
  # @type ValidDate: String
4566
4570
  # @param RequestId: 请求的id
@@ -4574,10 +4578,12 @@ module TencentCloud
4574
4578
  # @type ErrorMessage: String
4575
4579
  # @param ImageUrl: 原图地址
4576
4580
  # @type ImageUrl: String
4581
+ # @param PortraitUrl: 身份证头像照片的地址(人像面)
4582
+ # @type PortraitUrl: String
4577
4583
 
4578
- attr_accessor :WarnCodes, :Address, :Authority, :Birth, :IdNum, :Name, :Nation, :Sex, :ValidDate, :RequestId, :ErrorCode, :ErrorMessage, :ImageUrl
4584
+ attr_accessor :WarnCodes, :Address, :Authority, :Birth, :IdNum, :Name, :Nation, :Sex, :ValidDate, :RequestId, :ErrorCode, :ErrorMessage, :ImageUrl, :PortraitUrl
4579
4585
 
4580
- def initialize(warncodes=nil, address=nil, authority=nil, birth=nil, idnum=nil, name=nil, nation=nil, sex=nil, validdate=nil, requestid=nil, errorcode=nil, errormessage=nil, imageurl=nil)
4586
+ def initialize(warncodes=nil, address=nil, authority=nil, birth=nil, idnum=nil, name=nil, nation=nil, sex=nil, validdate=nil, requestid=nil, errorcode=nil, errormessage=nil, imageurl=nil, portraiturl=nil)
4581
4587
  @WarnCodes = warncodes
4582
4588
  @Address = address
4583
4589
  @Authority = authority
@@ -4591,6 +4597,7 @@ module TencentCloud
4591
4597
  @ErrorCode = errorcode
4592
4598
  @ErrorMessage = errormessage
4593
4599
  @ImageUrl = imageurl
4600
+ @PortraitUrl = portraiturl
4594
4601
  end
4595
4602
 
4596
4603
  def deserialize(params)
@@ -4607,6 +4614,7 @@ module TencentCloud
4607
4614
  @ErrorCode = params['ErrorCode']
4608
4615
  @ErrorMessage = params['ErrorMessage']
4609
4616
  @ImageUrl = params['ImageUrl']
4617
+ @PortraitUrl = params['PortraitUrl']
4610
4618
  end
4611
4619
  end
4612
4620
 
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.997
4
+ version: 3.0.998
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-12 00:00:00.000000000 Z
11
+ date: 2025-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common