tencentcloud-sdk-ocr 1.0.350 → 1.0.351
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 -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: 046cabd44e3def00338ba01b09ad9280827f88fe
|
4
|
+
data.tar.gz: da305a90b790ba1c2c8d3d834f3d1d2a83d1e2b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d9680cc540d60589409d5fb080efc48bb707fcb6c02ca305e8efd3ec934daa515354f2a5148a6b2a83cb1d575bc409b4f8c2e6019acf1c6e17697a022f74854
|
7
|
+
data.tar.gz: b792470355d0225fd79780f4900d3851a4ce1effba00c14a2bae5e3f0b6505fd9484bab08b01c3763eeae54c90d43b482c9747f7e22198f7e215127f22a9ba63
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.351
|
data/lib/v20181119/models.rb
CHANGED
@@ -4563,8 +4563,6 @@ module TencentCloud
|
|
4563
4563
|
|
4564
4564
|
# RecognizePhilippinesDrivingLicenseOCR请求参数结构体
|
4565
4565
|
class RecognizePhilippinesDrivingLicenseOCRRequest < TencentCloud::Common::AbstractModel
|
4566
|
-
# @param ReturnHeadImage: 是否返回人像照片。
|
4567
|
-
# @type ReturnHeadImage: Boolean
|
4568
4566
|
# @param ImageBase64: 图片的 Base64 值。
|
4569
4567
|
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
4570
4568
|
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
@@ -4576,19 +4574,21 @@ module TencentCloud
|
|
4576
4574
|
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
4577
4575
|
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
4578
4576
|
# @type ImageUrl: String
|
4577
|
+
# @param ReturnHeadImage: 是否返回人像照片。
|
4578
|
+
# @type ReturnHeadImage: Boolean
|
4579
4579
|
|
4580
|
-
attr_accessor :
|
4580
|
+
attr_accessor :ImageBase64, :ImageUrl, :ReturnHeadImage
|
4581
4581
|
|
4582
|
-
def initialize(
|
4583
|
-
@ReturnHeadImage = returnheadimage
|
4582
|
+
def initialize(imagebase64=nil, imageurl=nil, returnheadimage=nil)
|
4584
4583
|
@ImageBase64 = imagebase64
|
4585
4584
|
@ImageUrl = imageurl
|
4585
|
+
@ReturnHeadImage = returnheadimage
|
4586
4586
|
end
|
4587
4587
|
|
4588
4588
|
def deserialize(params)
|
4589
|
-
@ReturnHeadImage = params['ReturnHeadImage']
|
4590
4589
|
@ImageBase64 = params['ImageBase64']
|
4591
4590
|
@ImageUrl = params['ImageUrl']
|
4591
|
+
@ReturnHeadImage = params['ReturnHeadImage']
|
4592
4592
|
end
|
4593
4593
|
end
|
4594
4594
|
|
@@ -5527,19 +5527,27 @@ module TencentCloud
|
|
5527
5527
|
# 若客户只想返回姓名、性别两个字段的识别结果,则输入
|
5528
5528
|
# ItemNames=["姓名","性别"]
|
5529
5529
|
# @type ItemNames: Array
|
5530
|
+
# @param IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
5531
|
+
# @type IsPdf: Boolean
|
5532
|
+
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
5533
|
+
# @type PdfPageNumber: Integer
|
5530
5534
|
|
5531
|
-
attr_accessor :ImageUrl, :ImageBase64, :ItemNames
|
5535
|
+
attr_accessor :ImageUrl, :ImageBase64, :ItemNames, :IsPdf, :PdfPageNumber
|
5532
5536
|
|
5533
|
-
def initialize(imageurl=nil, imagebase64=nil, itemnames=nil)
|
5537
|
+
def initialize(imageurl=nil, imagebase64=nil, itemnames=nil, ispdf=nil, pdfpagenumber=nil)
|
5534
5538
|
@ImageUrl = imageurl
|
5535
5539
|
@ImageBase64 = imagebase64
|
5536
5540
|
@ItemNames = itemnames
|
5541
|
+
@IsPdf = ispdf
|
5542
|
+
@PdfPageNumber = pdfpagenumber
|
5537
5543
|
end
|
5538
5544
|
|
5539
5545
|
def deserialize(params)
|
5540
5546
|
@ImageUrl = params['ImageUrl']
|
5541
5547
|
@ImageBase64 = params['ImageBase64']
|
5542
5548
|
@ItemNames = params['ItemNames']
|
5549
|
+
@IsPdf = params['IsPdf']
|
5550
|
+
@PdfPageNumber = params['PdfPageNumber']
|
5543
5551
|
end
|
5544
5552
|
end
|
5545
5553
|
|
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: 1.0.
|
4
|
+
version: 1.0.351
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|