tencentcloud-sdk-ocr 3.0.819 → 3.0.820
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/models.rb +66 -15
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b9216a9876901dfc57c19dc97b4970456de13b2
|
4
|
+
data.tar.gz: 9e327d51d710a951a293c86f65b2fffaa830acbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb99a2ff05e74d4026fb1bb418eda313a757b625bc67494ef19bafed3971c90a0e7cb78c2492366bf040d5a7b3029372e974aeb2fef942501a5a3277f5be81cc
|
7
|
+
data.tar.gz: cb2af388318c6a9ce3caa2c74c1e998dad0523a9c6a60b35c8e1050877db351ef410e4a7b0378b5e7a70d984db3a2bac5ae872ad4469278ea7ff637c52922730
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.820
|
data/lib/v20181119/models.rb
CHANGED
@@ -2381,7 +2381,7 @@ module TencentCloud
|
|
2381
2381
|
|
2382
2382
|
# 敏感数据加密
|
2383
2383
|
class Encryption < TencentCloud::Common::AbstractModel
|
2384
|
-
# @param CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob
|
2384
|
+
# @param CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅[敏感数据加密指引](https://cloud.tencent.com/document/product/866/106048)文档。
|
2385
2385
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2386
2386
|
# @type CiphertextBlob: String
|
2387
2387
|
# @param Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
|
@@ -3604,10 +3604,10 @@ module TencentCloud
|
|
3604
3604
|
|
3605
3605
|
# HKIDCardOCR请求参数结构体
|
3606
3606
|
class HKIDCardOCRRequest < TencentCloud::Common::AbstractModel
|
3607
|
-
# @param DetectFake: 是否鉴伪。
|
3608
|
-
# @type DetectFake: Boolean
|
3609
3607
|
# @param ReturnHeadImage: 是否返回人像照片。
|
3610
3608
|
# @type ReturnHeadImage: Boolean
|
3609
|
+
# @param DetectFake: 是否鉴伪。
|
3610
|
+
# @type DetectFake: Boolean
|
3611
3611
|
# @param ImageBase64: 图片的 Base64 值。
|
3612
3612
|
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3613
3613
|
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
@@ -3619,18 +3619,21 @@ module TencentCloud
|
|
3619
3619
|
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3620
3620
|
# @type ImageUrl: String
|
3621
3621
|
|
3622
|
-
attr_accessor :
|
3622
|
+
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
3623
|
+
extend Gem::Deprecate
|
3624
|
+
deprecate :DetectFake, :none, 2024, 5
|
3625
|
+
deprecate :DetectFake=, :none, 2024, 5
|
3623
3626
|
|
3624
|
-
def initialize(
|
3625
|
-
@DetectFake = detectfake
|
3627
|
+
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
3626
3628
|
@ReturnHeadImage = returnheadimage
|
3629
|
+
@DetectFake = detectfake
|
3627
3630
|
@ImageBase64 = imagebase64
|
3628
3631
|
@ImageUrl = imageurl
|
3629
3632
|
end
|
3630
3633
|
|
3631
3634
|
def deserialize(params)
|
3632
|
-
@DetectFake = params['DetectFake']
|
3633
3635
|
@ReturnHeadImage = params['ReturnHeadImage']
|
3636
|
+
@DetectFake = params['DetectFake']
|
3634
3637
|
@ImageBase64 = params['ImageBase64']
|
3635
3638
|
@ImageUrl = params['ImageUrl']
|
3636
3639
|
end
|
@@ -3674,12 +3677,25 @@ module TencentCloud
|
|
3674
3677
|
# -9102:证照复印件告警
|
3675
3678
|
# -9103:证照翻拍告警
|
3676
3679
|
# @type WarningCode: Array
|
3680
|
+
# @param WarnCardInfos: 告警码
|
3681
|
+
# -9101 证件边框不完整告警
|
3682
|
+
# -9102 证件复印件告警
|
3683
|
+
# -9103 证件翻拍告警
|
3684
|
+
# -9107 证件反光告警
|
3685
|
+
# -9108 证件模糊告警
|
3686
|
+
# -9109 告警能力未开通
|
3687
|
+
# @type WarnCardInfos: Array
|
3677
3688
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3678
3689
|
# @type RequestId: String
|
3679
3690
|
|
3680
|
-
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :RequestId
|
3691
|
+
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
3692
|
+
extend Gem::Deprecate
|
3693
|
+
deprecate :FakeDetectResult, :none, 2024, 5
|
3694
|
+
deprecate :FakeDetectResult=, :none, 2024, 5
|
3695
|
+
deprecate :WarningCode, :none, 2024, 5
|
3696
|
+
deprecate :WarningCode=, :none, 2024, 5
|
3681
3697
|
|
3682
|
-
def initialize(cnname=nil, enname=nil, telexcode=nil, sex=nil, birthday=nil, permanent=nil, idnum=nil, symbol=nil, firstissuedate=nil, currentissuedate=nil, fakedetectresult=nil, headimage=nil, warningcode=nil, requestid=nil)
|
3698
|
+
def initialize(cnname=nil, enname=nil, telexcode=nil, sex=nil, birthday=nil, permanent=nil, idnum=nil, symbol=nil, firstissuedate=nil, currentissuedate=nil, fakedetectresult=nil, headimage=nil, warningcode=nil, warncardinfos=nil, requestid=nil)
|
3683
3699
|
@CnName = cnname
|
3684
3700
|
@EnName = enname
|
3685
3701
|
@TelexCode = telexcode
|
@@ -3693,6 +3709,7 @@ module TencentCloud
|
|
3693
3709
|
@FakeDetectResult = fakedetectresult
|
3694
3710
|
@HeadImage = headimage
|
3695
3711
|
@WarningCode = warningcode
|
3712
|
+
@WarnCardInfos = warncardinfos
|
3696
3713
|
@RequestId = requestid
|
3697
3714
|
end
|
3698
3715
|
|
@@ -3710,6 +3727,7 @@ module TencentCloud
|
|
3710
3727
|
@FakeDetectResult = params['FakeDetectResult']
|
3711
3728
|
@HeadImage = params['HeadImage']
|
3712
3729
|
@WarningCode = params['WarningCode']
|
3730
|
+
@WarnCardInfos = params['WarnCardInfos']
|
3713
3731
|
@RequestId = params['RequestId']
|
3714
3732
|
end
|
3715
3733
|
end
|
@@ -4688,12 +4706,23 @@ module TencentCloud
|
|
4688
4706
|
# @type Type: String
|
4689
4707
|
# @param Birthday: 出生日期(目前该字段仅支持IKAD劳工证、MyKad 身份证)
|
4690
4708
|
# @type Birthday: String
|
4709
|
+
# @param WarnCardInfos: 告警码
|
4710
|
+
# -9101 证件边框不完整告警
|
4711
|
+
# -9102 证件复印件告警
|
4712
|
+
# -9103 证件翻拍告警
|
4713
|
+
# -9107 证件反光告警
|
4714
|
+
# -9108 证件模糊告警
|
4715
|
+
# -9109 告警能力未开通
|
4716
|
+
# @type WarnCardInfos: Array
|
4691
4717
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4692
4718
|
# @type RequestId: String
|
4693
4719
|
|
4694
|
-
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :RequestId
|
4720
|
+
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :WarnCardInfos, :RequestId
|
4721
|
+
extend Gem::Deprecate
|
4722
|
+
deprecate :Warn, :none, 2024, 5
|
4723
|
+
deprecate :Warn=, :none, 2024, 5
|
4695
4724
|
|
4696
|
-
def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, requestid=nil)
|
4725
|
+
def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, warncardinfos=nil, requestid=nil)
|
4697
4726
|
@ID = id
|
4698
4727
|
@Name = name
|
4699
4728
|
@Address = address
|
@@ -4703,6 +4732,7 @@ module TencentCloud
|
|
4703
4732
|
@AdvancedInfo = advancedinfo
|
4704
4733
|
@Type = type
|
4705
4734
|
@Birthday = birthday
|
4735
|
+
@WarnCardInfos = warncardinfos
|
4706
4736
|
@RequestId = requestid
|
4707
4737
|
end
|
4708
4738
|
|
@@ -4716,6 +4746,7 @@ module TencentCloud
|
|
4716
4746
|
@AdvancedInfo = params['AdvancedInfo']
|
4717
4747
|
@Type = params['Type']
|
4718
4748
|
@Birthday = params['Birthday']
|
4749
|
+
@WarnCardInfos = params['WarnCardInfos']
|
4719
4750
|
@RequestId = params['RequestId']
|
4720
4751
|
end
|
4721
4752
|
end
|
@@ -7544,12 +7575,20 @@ module TencentCloud
|
|
7544
7575
|
# @type Provinsi: String
|
7545
7576
|
# @param Kota: 城市,Scene为V2时支持识别
|
7546
7577
|
# @type Kota: String
|
7578
|
+
# @param WarnCardInfos: 告警码
|
7579
|
+
# -9101 证件边框不完整告警
|
7580
|
+
# -9102 证件复印件告警
|
7581
|
+
# -9103 证件翻拍告警
|
7582
|
+
# -9107 证件反光告警
|
7583
|
+
# -9108 证件模糊告警
|
7584
|
+
# -9109 告警能力未开通
|
7585
|
+
# @type WarnCardInfos: Array
|
7547
7586
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7548
7587
|
# @type RequestId: String
|
7549
7588
|
|
7550
|
-
attr_accessor :NIK, :Nama, :TempatTglLahir, :JenisKelamin, :GolDarah, :Alamat, :RTRW, :KelDesa, :Kecamatan, :Agama, :StatusPerkawinan, :Perkerjaan, :KewargaNegaraan, :BerlakuHingga, :IssuedDate, :Photo, :Provinsi, :Kota, :RequestId
|
7589
|
+
attr_accessor :NIK, :Nama, :TempatTglLahir, :JenisKelamin, :GolDarah, :Alamat, :RTRW, :KelDesa, :Kecamatan, :Agama, :StatusPerkawinan, :Perkerjaan, :KewargaNegaraan, :BerlakuHingga, :IssuedDate, :Photo, :Provinsi, :Kota, :WarnCardInfos, :RequestId
|
7551
7590
|
|
7552
|
-
def initialize(nik=nil, nama=nil, tempattgllahir=nil, jeniskelamin=nil, goldarah=nil, alamat=nil, rtrw=nil, keldesa=nil, kecamatan=nil, agama=nil, statusperkawinan=nil, perkerjaan=nil, kewarganegaraan=nil, berlakuhingga=nil, issueddate=nil, photo=nil, provinsi=nil, kota=nil, requestid=nil)
|
7591
|
+
def initialize(nik=nil, nama=nil, tempattgllahir=nil, jeniskelamin=nil, goldarah=nil, alamat=nil, rtrw=nil, keldesa=nil, kecamatan=nil, agama=nil, statusperkawinan=nil, perkerjaan=nil, kewarganegaraan=nil, berlakuhingga=nil, issueddate=nil, photo=nil, provinsi=nil, kota=nil, warncardinfos=nil, requestid=nil)
|
7553
7592
|
@NIK = nik
|
7554
7593
|
@Nama = nama
|
7555
7594
|
@TempatTglLahir = tempattgllahir
|
@@ -7568,6 +7607,7 @@ module TencentCloud
|
|
7568
7607
|
@Photo = photo
|
7569
7608
|
@Provinsi = provinsi
|
7570
7609
|
@Kota = kota
|
7610
|
+
@WarnCardInfos = warncardinfos
|
7571
7611
|
@RequestId = requestid
|
7572
7612
|
end
|
7573
7613
|
|
@@ -7590,6 +7630,7 @@ module TencentCloud
|
|
7590
7630
|
@Photo = params['Photo']
|
7591
7631
|
@Provinsi = params['Provinsi']
|
7592
7632
|
@Kota = params['Kota']
|
7633
|
+
@WarnCardInfos = params['WarnCardInfos']
|
7593
7634
|
@RequestId = params['RequestId']
|
7594
7635
|
end
|
7595
7636
|
end
|
@@ -8426,12 +8467,20 @@ module TencentCloud
|
|
8426
8467
|
# @type Address: String
|
8427
8468
|
# @param PortraitImage: 证件人像照片抠取
|
8428
8469
|
# @type PortraitImage: String
|
8470
|
+
# @param WarnCardInfos: 告警码
|
8471
|
+
# -9101 证件边框不完整告警
|
8472
|
+
# -9102 证件复印件告警
|
8473
|
+
# -9103 证件翻拍告警
|
8474
|
+
# -9107 证件反光告警
|
8475
|
+
# -9108 证件模糊告警
|
8476
|
+
# -9109 告警能力未开通
|
8477
|
+
# @type WarnCardInfos: Array
|
8429
8478
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8430
8479
|
# @type RequestId: String
|
8431
8480
|
|
8432
|
-
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :Birthday, :Address, :PortraitImage, :RequestId
|
8481
|
+
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :Birthday, :Address, :PortraitImage, :WarnCardInfos, :RequestId
|
8433
8482
|
|
8434
|
-
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, birthday=nil, address=nil, portraitimage=nil, requestid=nil)
|
8483
|
+
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, birthday=nil, address=nil, portraitimage=nil, warncardinfos=nil, requestid=nil)
|
8435
8484
|
@ID = id
|
8436
8485
|
@ThaiName = thainame
|
8437
8486
|
@EnFirstName = enfirstname
|
@@ -8441,6 +8490,7 @@ module TencentCloud
|
|
8441
8490
|
@Birthday = birthday
|
8442
8491
|
@Address = address
|
8443
8492
|
@PortraitImage = portraitimage
|
8493
|
+
@WarnCardInfos = warncardinfos
|
8444
8494
|
@RequestId = requestid
|
8445
8495
|
end
|
8446
8496
|
|
@@ -8454,6 +8504,7 @@ module TencentCloud
|
|
8454
8504
|
@Birthday = params['Birthday']
|
8455
8505
|
@Address = params['Address']
|
8456
8506
|
@PortraitImage = params['PortraitImage']
|
8507
|
+
@WarnCardInfos = params['WarnCardInfos']
|
8457
8508
|
@RequestId = params['RequestId']
|
8458
8509
|
end
|
8459
8510
|
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.820
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- lib/tencentcloud-sdk-ocr.rb
|
36
37
|
- lib/v20181119/client.rb
|
37
38
|
- lib/v20181119/models.rb
|
38
|
-
- lib/tencentcloud-sdk-ocr.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|