tencentcloud-sdk-ocr 3.0.902 → 3.0.903
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: 152522a0a523108a9c14f24d62cab4189d95659b
|
4
|
+
data.tar.gz: 4babd8796f54e343a64a5dcf1cae9a2c1fce93ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2f4d86667a8a4e6a35855c1b89386438e77d228e08855bd6c0e00d36e6514a6dbdfe3180a3a24cf2df43c0467e8cedeff7ca775ee9d017981972b645649dd13
|
7
|
+
data.tar.gz: 06972f0086883f90de1033ce3f2f4c06e89f3a48e2fd86387f3a75020a053982a59f7f9f5a2876f8d33fdd90095951c5a70def0ad7b975dc30f883fb40293fd4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.903
|
data/lib/v20181119/models.rb
CHANGED
@@ -3457,13 +3457,9 @@ module TencentCloud
|
|
3457
3457
|
|
3458
3458
|
# GeneralBasicOCR请求参数结构体
|
3459
3459
|
class GeneralBasicOCRRequest < TencentCloud::Common::AbstractModel
|
3460
|
-
# @param ImageBase64: 图片/PDF的 Base64
|
3461
|
-
# 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
|
3462
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3460
|
+
# @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3463
3461
|
# @type ImageBase64: String
|
3464
|
-
# @param ImageUrl: 图片/PDF的 Url
|
3465
|
-
# 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
|
3466
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3462
|
+
# @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3467
3463
|
# @type ImageUrl: String
|
3468
3464
|
# @param Scene: 保留字段。
|
3469
3465
|
# @type Scene: String
|
@@ -6611,12 +6607,14 @@ module TencentCloud
|
|
6611
6607
|
# @type Birthday: String
|
6612
6608
|
# @param PortraitImage: 头像照片的base64
|
6613
6609
|
# @type PortraitImage: String
|
6610
|
+
# @param Type: 返回类型
|
6611
|
+
# @type Type: String
|
6614
6612
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6615
6613
|
# @type RequestId: String
|
6616
6614
|
|
6617
|
-
attr_accessor :Name, :EnglishName, :Number, :Sex, :ValidDate, :IssueAuthority, :IssueAddress, :Birthday, :PortraitImage, :RequestId
|
6615
|
+
attr_accessor :Name, :EnglishName, :Number, :Sex, :ValidDate, :IssueAuthority, :IssueAddress, :Birthday, :PortraitImage, :Type, :RequestId
|
6618
6616
|
|
6619
|
-
def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, issueauthority=nil, issueaddress=nil, birthday=nil, portraitimage=nil, requestid=nil)
|
6617
|
+
def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, issueauthority=nil, issueaddress=nil, birthday=nil, portraitimage=nil, type=nil, requestid=nil)
|
6620
6618
|
@Name = name
|
6621
6619
|
@EnglishName = englishname
|
6622
6620
|
@Number = number
|
@@ -6626,6 +6624,7 @@ module TencentCloud
|
|
6626
6624
|
@IssueAddress = issueaddress
|
6627
6625
|
@Birthday = birthday
|
6628
6626
|
@PortraitImage = portraitimage
|
6627
|
+
@Type = type
|
6629
6628
|
@RequestId = requestid
|
6630
6629
|
end
|
6631
6630
|
|
@@ -6639,6 +6638,7 @@ module TencentCloud
|
|
6639
6638
|
@IssueAddress = params['IssueAddress']
|
6640
6639
|
@Birthday = params['Birthday']
|
6641
6640
|
@PortraitImage = params['PortraitImage']
|
6641
|
+
@Type = params['Type']
|
6642
6642
|
@RequestId = params['RequestId']
|
6643
6643
|
end
|
6644
6644
|
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.903
|
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-09-
|
11
|
+
date: 2024-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|