tencentcloud-sdk-ocr 3.0.982 → 3.0.983
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 +16 -4
- 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: 4dafc2ca62d1bad778590dcafe9eec7783d8771e
|
4
|
+
data.tar.gz: ef849fb354aea142caaabbf8f8f46e87dfbdf707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eb5e552190a4c7e9924dd69ed17f760a276aba2de1aa48337436e105c9679cbca5679bb3297e69277d8341a0035e4de098190fdb3e5d12c48acd822f507bc86
|
7
|
+
data.tar.gz: 6bee025e99eeae508d0c01aa7ad6097781092ebab3b82b3f5a7162af277ed6c483c6e993df3f5af86578cef68ddec64b16aefc4999feb5eac6663497349f3d6c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.983
|
data/lib/v20181119/models.rb
CHANGED
@@ -8887,24 +8887,32 @@ module TencentCloud
|
|
8887
8887
|
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
8888
8888
|
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8889
8889
|
# @type ImageBase64: String
|
8890
|
+
# @param BackImageBase64: 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8891
|
+
# @type BackImageBase64: String
|
8890
8892
|
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
8891
8893
|
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
8892
8894
|
# @type ImageUrl: String
|
8895
|
+
# @param BackImageUrl: 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8896
|
+
# @type BackImageUrl: String
|
8893
8897
|
# @param CropPortrait: 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
|
8894
8898
|
# 设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
|
8895
8899
|
# @type CropPortrait: Boolean
|
8896
8900
|
|
8897
|
-
attr_accessor :ImageBase64, :ImageUrl, :CropPortrait
|
8901
|
+
attr_accessor :ImageBase64, :BackImageBase64, :ImageUrl, :BackImageUrl, :CropPortrait
|
8898
8902
|
|
8899
|
-
def initialize(imagebase64=nil, imageurl=nil, cropportrait=nil)
|
8903
|
+
def initialize(imagebase64=nil, backimagebase64=nil, imageurl=nil, backimageurl=nil, cropportrait=nil)
|
8900
8904
|
@ImageBase64 = imagebase64
|
8905
|
+
@BackImageBase64 = backimagebase64
|
8901
8906
|
@ImageUrl = imageurl
|
8907
|
+
@BackImageUrl = backimageurl
|
8902
8908
|
@CropPortrait = cropportrait
|
8903
8909
|
end
|
8904
8910
|
|
8905
8911
|
def deserialize(params)
|
8906
8912
|
@ImageBase64 = params['ImageBase64']
|
8913
|
+
@BackImageBase64 = params['BackImageBase64']
|
8907
8914
|
@ImageUrl = params['ImageUrl']
|
8915
|
+
@BackImageUrl = params['BackImageUrl']
|
8908
8916
|
@CropPortrait = params['CropPortrait']
|
8909
8917
|
end
|
8910
8918
|
end
|
@@ -8937,6 +8945,8 @@ module TencentCloud
|
|
8937
8945
|
# @type SerialNumber: String
|
8938
8946
|
# @param Address: 地址
|
8939
8947
|
# @type Address: String
|
8948
|
+
# @param LaserID: 背面号码
|
8949
|
+
# @type LaserID: String
|
8940
8950
|
# @param PortraitImage: 证件人像照片抠取
|
8941
8951
|
# @type PortraitImage: String
|
8942
8952
|
# @param WarnCardInfos: 告警码
|
@@ -8960,9 +8970,9 @@ module TencentCloud
|
|
8960
8970
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8961
8971
|
# @type RequestId: String
|
8962
8972
|
|
8963
|
-
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :RequestId
|
8973
|
+
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :RequestId
|
8964
8974
|
|
8965
|
-
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, requestid=nil)
|
8975
|
+
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, requestid=nil)
|
8966
8976
|
@ID = id
|
8967
8977
|
@ThaiName = thainame
|
8968
8978
|
@EnFirstName = enfirstname
|
@@ -8976,6 +8986,7 @@ module TencentCloud
|
|
8976
8986
|
@Religion = religion
|
8977
8987
|
@SerialNumber = serialnumber
|
8978
8988
|
@Address = address
|
8989
|
+
@LaserID = laserid
|
8979
8990
|
@PortraitImage = portraitimage
|
8980
8991
|
@WarnCardInfos = warncardinfos
|
8981
8992
|
@AdvancedInfo = advancedinfo
|
@@ -8996,6 +9007,7 @@ module TencentCloud
|
|
8996
9007
|
@Religion = params['Religion']
|
8997
9008
|
@SerialNumber = params['SerialNumber']
|
8998
9009
|
@Address = params['Address']
|
9010
|
+
@LaserID = params['LaserID']
|
8999
9011
|
@PortraitImage = params['PortraitImage']
|
9000
9012
|
@WarnCardInfos = params['WarnCardInfos']
|
9001
9013
|
@AdvancedInfo = params['AdvancedInfo']
|
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.983
|
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-01-
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|