tencentcloud-sdk-ocr 3.0.996 → 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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +36 -16
- 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: cf8b9b6fc4a513ccc0da416ba87696e1b12b9526
|
4
|
+
data.tar.gz: 7b5a05d955363a919329da1359d0a10ebd11667d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 485287adb2aca3aee33d6e169f9045ac2eaa7b0c6276f5f2afa88d87bc2ee220fb897d02836ce7377fe73f01ced933aedf0a67f30755c303e51ecf73b3036a03
|
7
|
+
data.tar.gz: 5449600c2f2552c7e85d1de694292a8ee473357a377abbd1262d6e01aa70fd0dd8f21ec81f5ece9bc4ff2435f3a33a4717e920fbad142fddbd68978faf8fa05f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.998
|
data/lib/v20181119/models.rb
CHANGED
@@ -1430,22 +1430,32 @@ module TencentCloud
|
|
1430
1430
|
# @type Content: String
|
1431
1431
|
# @param Confidence: 结果置信度
|
1432
1432
|
# @type Confidence: Integer
|
1433
|
-
# @param IsInComplete:
|
1433
|
+
# @param IsInComplete: 字段是否不完整(value内容)
|
1434
1434
|
# 0 字段正常
|
1435
1435
|
# 1 字段不完整
|
1436
1436
|
# @type IsInComplete: Integer
|
1437
|
-
# @param IsReflect:
|
1437
|
+
# @param IsReflect: 字段反光(value内容)
|
1438
1438
|
# 0 字段正常
|
1439
1439
|
# 1 字段有反光
|
1440
1440
|
# @type IsReflect: Integer
|
1441
|
+
# @param IsKeyInComplete: 字段是否不完整(key内容)
|
1442
|
+
# 0 字段正常
|
1443
|
+
# 1 字段不完整
|
1444
|
+
# @type IsKeyInComplete: Integer
|
1445
|
+
# @param IsKeyReflect: 字段反光(key内容)
|
1446
|
+
# 0 字段正常
|
1447
|
+
# 1 字段有反光
|
1448
|
+
# @type IsKeyReflect: Integer
|
1441
1449
|
|
1442
|
-
attr_accessor :Content, :Confidence, :IsInComplete, :IsReflect
|
1450
|
+
attr_accessor :Content, :Confidence, :IsInComplete, :IsReflect, :IsKeyInComplete, :IsKeyReflect
|
1443
1451
|
|
1444
|
-
def initialize(content=nil, confidence=nil, isincomplete=nil, isreflect=nil)
|
1452
|
+
def initialize(content=nil, confidence=nil, isincomplete=nil, isreflect=nil, iskeyincomplete=nil, iskeyreflect=nil)
|
1445
1453
|
@Content = content
|
1446
1454
|
@Confidence = confidence
|
1447
1455
|
@IsInComplete = isincomplete
|
1448
1456
|
@IsReflect = isreflect
|
1457
|
+
@IsKeyInComplete = iskeyincomplete
|
1458
|
+
@IsKeyReflect = iskeyreflect
|
1449
1459
|
end
|
1450
1460
|
|
1451
1461
|
def deserialize(params)
|
@@ -1453,6 +1463,8 @@ module TencentCloud
|
|
1453
1463
|
@Confidence = params['Confidence']
|
1454
1464
|
@IsInComplete = params['IsInComplete']
|
1455
1465
|
@IsReflect = params['IsReflect']
|
1466
|
+
@IsKeyInComplete = params['IsKeyInComplete']
|
1467
|
+
@IsKeyReflect = params['IsKeyReflect']
|
1456
1468
|
end
|
1457
1469
|
end
|
1458
1470
|
|
@@ -4409,10 +4421,12 @@ module TencentCloud
|
|
4409
4421
|
# @type InvalidDateWarn: Boolean
|
4410
4422
|
# @param ReflectWarn: 是否开启反光检测,默认为false
|
4411
4423
|
# @type ReflectWarn: Boolean
|
4424
|
+
# @param CropPortrait: 是否开启头像剪切
|
4425
|
+
# @type CropPortrait: Boolean
|
4412
4426
|
|
4413
|
-
attr_accessor :CopyWarn, :BorderCheckWarn, :ReshootWarn, :DetectPsWarn, :TempIdWarn, :InvalidDateWarn, :ReflectWarn
|
4427
|
+
attr_accessor :CopyWarn, :BorderCheckWarn, :ReshootWarn, :DetectPsWarn, :TempIdWarn, :InvalidDateWarn, :ReflectWarn, :CropPortrait
|
4414
4428
|
|
4415
|
-
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)
|
4416
4430
|
@CopyWarn = copywarn
|
4417
4431
|
@BorderCheckWarn = bordercheckwarn
|
4418
4432
|
@ReshootWarn = reshootwarn
|
@@ -4420,6 +4434,7 @@ module TencentCloud
|
|
4420
4434
|
@TempIdWarn = tempidwarn
|
4421
4435
|
@InvalidDateWarn = invaliddatewarn
|
4422
4436
|
@ReflectWarn = reflectwarn
|
4437
|
+
@CropPortrait = cropportrait
|
4423
4438
|
end
|
4424
4439
|
|
4425
4440
|
def deserialize(params)
|
@@ -4430,6 +4445,7 @@ module TencentCloud
|
|
4430
4445
|
@TempIdWarn = params['TempIdWarn']
|
4431
4446
|
@InvalidDateWarn = params['InvalidDateWarn']
|
4432
4447
|
@ReflectWarn = params['ReflectWarn']
|
4448
|
+
@CropPortrait = params['CropPortrait']
|
4433
4449
|
end
|
4434
4450
|
end
|
4435
4451
|
|
@@ -4527,28 +4543,28 @@ module TencentCloud
|
|
4527
4543
|
# @param WarnCodes: 警告代码
|
4528
4544
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4529
4545
|
# @type WarnCodes: Array
|
4530
|
-
# @param Address:
|
4546
|
+
# @param Address: 地址(人像面)
|
4531
4547
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4532
4548
|
# @type Address: String
|
4533
|
-
# @param Authority:
|
4549
|
+
# @param Authority: 发证机关(国徽面)
|
4534
4550
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4535
4551
|
# @type Authority: String
|
4536
|
-
# @param Birth:
|
4552
|
+
# @param Birth: 出生日期(人像面)
|
4537
4553
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4538
4554
|
# @type Birth: String
|
4539
|
-
# @param IdNum:
|
4555
|
+
# @param IdNum: 身份证号(人像面)
|
4540
4556
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4541
4557
|
# @type IdNum: String
|
4542
|
-
# @param Name:
|
4558
|
+
# @param Name: 名字(人像面)
|
4543
4559
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4544
4560
|
# @type Name: String
|
4545
|
-
# @param Nation:
|
4561
|
+
# @param Nation: 民族(人像面)
|
4546
4562
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4547
4563
|
# @type Nation: String
|
4548
|
-
# @param Sex:
|
4564
|
+
# @param Sex: 性别(人像面)
|
4549
4565
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4550
4566
|
# @type Sex: String
|
4551
|
-
# @param ValidDate:
|
4567
|
+
# @param ValidDate: 证件有效期(国徽面)
|
4552
4568
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4553
4569
|
# @type ValidDate: String
|
4554
4570
|
# @param RequestId: 请求的id
|
@@ -4562,10 +4578,12 @@ module TencentCloud
|
|
4562
4578
|
# @type ErrorMessage: String
|
4563
4579
|
# @param ImageUrl: 原图地址
|
4564
4580
|
# @type ImageUrl: String
|
4581
|
+
# @param PortraitUrl: 身份证头像照片的地址(人像面)
|
4582
|
+
# @type PortraitUrl: String
|
4565
4583
|
|
4566
|
-
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
|
4567
4585
|
|
4568
|
-
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)
|
4569
4587
|
@WarnCodes = warncodes
|
4570
4588
|
@Address = address
|
4571
4589
|
@Authority = authority
|
@@ -4579,6 +4597,7 @@ module TencentCloud
|
|
4579
4597
|
@ErrorCode = errorcode
|
4580
4598
|
@ErrorMessage = errormessage
|
4581
4599
|
@ImageUrl = imageurl
|
4600
|
+
@PortraitUrl = portraiturl
|
4582
4601
|
end
|
4583
4602
|
|
4584
4603
|
def deserialize(params)
|
@@ -4595,6 +4614,7 @@ module TencentCloud
|
|
4595
4614
|
@ErrorCode = params['ErrorCode']
|
4596
4615
|
@ErrorMessage = params['ErrorMessage']
|
4597
4616
|
@ImageUrl = params['ImageUrl']
|
4617
|
+
@PortraitUrl = params['PortraitUrl']
|
4598
4618
|
end
|
4599
4619
|
end
|
4600
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.
|
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-
|
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
|