tencentcloud-sdk-ocr 3.0.1012 → 3.0.1013
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 +32 -21
- 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: 4e394c49c4141fdfeab8a64f7d69efb899c5f53b
|
4
|
+
data.tar.gz: 4f316a9512e2b23811bdc12598f52e24885ec14f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8088320cf26bc9fd4dd51d03dbf5b24b5f47f5bbeee23b03c86c88e28c6da18147232dba67ea0e63d6385985aed37307b9a29f8ced7e7146761145f4adcc178
|
7
|
+
data.tar.gz: 15899425adbfdd185dd34f9b1aa2c6eb64a1d93189cd22fbd5b0fe291dd78a2c986ef83355a58c171e003451b4b6c9da982f90d5cf22d6a920949a49a9837691
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1013
|
data/lib/v20181119/models.rb
CHANGED
@@ -1770,8 +1770,8 @@ module TencentCloud
|
|
1770
1770
|
|
1771
1771
|
attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
|
1772
1772
|
extend Gem::Deprecate
|
1773
|
-
deprecate :Angle, :none, 2025,
|
1774
|
-
deprecate :Angle=, :none, 2025,
|
1773
|
+
deprecate :Angle, :none, 2025, 3
|
1774
|
+
deprecate :Angle=, :none, 2025, 3
|
1775
1775
|
|
1776
1776
|
def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
|
1777
1777
|
@PageNumber = pagenumber
|
@@ -3636,8 +3636,8 @@ module TencentCloud
|
|
3636
3636
|
|
3637
3637
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3638
3638
|
extend Gem::Deprecate
|
3639
|
-
deprecate :Angel, :none, 2025,
|
3640
|
-
deprecate :Angel=, :none, 2025,
|
3639
|
+
deprecate :Angel, :none, 2025, 3
|
3640
|
+
deprecate :Angel=, :none, 2025, 3
|
3641
3641
|
|
3642
3642
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3643
3643
|
@TextDetections = textdetections
|
@@ -3743,8 +3743,8 @@ module TencentCloud
|
|
3743
3743
|
|
3744
3744
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
3745
3745
|
extend Gem::Deprecate
|
3746
|
-
deprecate :Angel, :none, 2025,
|
3747
|
-
deprecate :Angel=, :none, 2025,
|
3746
|
+
deprecate :Angel, :none, 2025, 3
|
3747
|
+
deprecate :Angel=, :none, 2025, 3
|
3748
3748
|
|
3749
3749
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
3750
3750
|
@TextDetections = textdetections
|
@@ -3840,8 +3840,8 @@ module TencentCloud
|
|
3840
3840
|
|
3841
3841
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3842
3842
|
extend Gem::Deprecate
|
3843
|
-
deprecate :Angel, :none, 2025,
|
3844
|
-
deprecate :Angel=, :none, 2025,
|
3843
|
+
deprecate :Angel, :none, 2025, 3
|
3844
|
+
deprecate :Angel=, :none, 2025, 3
|
3845
3845
|
|
3846
3846
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3847
3847
|
@TextDetections = textdetections
|
@@ -3994,8 +3994,8 @@ module TencentCloud
|
|
3994
3994
|
|
3995
3995
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3996
3996
|
extend Gem::Deprecate
|
3997
|
-
deprecate :Angel, :none, 2025,
|
3998
|
-
deprecate :Angel=, :none, 2025,
|
3997
|
+
deprecate :Angel, :none, 2025, 3
|
3998
|
+
deprecate :Angel=, :none, 2025, 3
|
3999
3999
|
|
4000
4000
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
4001
4001
|
@TextDetections = textdetections
|
@@ -4265,8 +4265,8 @@ module TencentCloud
|
|
4265
4265
|
|
4266
4266
|
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
4267
4267
|
extend Gem::Deprecate
|
4268
|
-
deprecate :DetectFake, :none, 2025,
|
4269
|
-
deprecate :DetectFake=, :none, 2025,
|
4268
|
+
deprecate :DetectFake, :none, 2025, 3
|
4269
|
+
deprecate :DetectFake=, :none, 2025, 3
|
4270
4270
|
|
4271
4271
|
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
4272
4272
|
@ReturnHeadImage = returnheadimage
|
@@ -4335,10 +4335,10 @@ module TencentCloud
|
|
4335
4335
|
|
4336
4336
|
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
4337
4337
|
extend Gem::Deprecate
|
4338
|
-
deprecate :FakeDetectResult, :none, 2025,
|
4339
|
-
deprecate :FakeDetectResult=, :none, 2025,
|
4340
|
-
deprecate :WarningCode, :none, 2025,
|
4341
|
-
deprecate :WarningCode=, :none, 2025,
|
4338
|
+
deprecate :FakeDetectResult, :none, 2025, 3
|
4339
|
+
deprecate :FakeDetectResult=, :none, 2025, 3
|
4340
|
+
deprecate :WarningCode, :none, 2025, 3
|
4341
|
+
deprecate :WarningCode=, :none, 2025, 3
|
4342
4342
|
|
4343
4343
|
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)
|
4344
4344
|
@CnName = cnname
|
@@ -5690,8 +5690,8 @@ module TencentCloud
|
|
5690
5690
|
|
5691
5691
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
|
5692
5692
|
extend Gem::Deprecate
|
5693
|
-
deprecate :Warn, :none, 2025,
|
5694
|
-
deprecate :Warn=, :none, 2025,
|
5693
|
+
deprecate :Warn, :none, 2025, 3
|
5694
|
+
deprecate :Warn=, :none, 2025, 3
|
5695
5695
|
|
5696
5696
|
def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, mykadnumber=nil, warncardinfos=nil, requestid=nil)
|
5697
5697
|
@ID = id
|
@@ -11047,9 +11047,9 @@ module TencentCloud
|
|
11047
11047
|
|
11048
11048
|
# SmartStructuralPro请求参数结构体
|
11049
11049
|
class SmartStructuralProRequest < TencentCloud::Common::AbstractModel
|
11050
|
-
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11050
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11051
11051
|
# @type ImageUrl: String
|
11052
|
-
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11052
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11053
11053
|
# @type ImageBase64: String
|
11054
11054
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
11055
11055
|
# @type PdfPageNumber: Integer
|
@@ -11057,7 +11057,18 @@ module TencentCloud
|
|
11057
11057
|
# @type ItemNames: Array
|
11058
11058
|
# @param ReturnFullText: 是否开启全文字段识别
|
11059
11059
|
# @type ReturnFullText: Boolean
|
11060
|
-
# @param ConfigId: 配置id支持:
|
11060
|
+
# @param ConfigId: 配置id支持:
|
11061
|
+
# General -- 通用场景
|
11062
|
+
# InvoiceEng -- 国际invoice模版
|
11063
|
+
# WayBillEng --海运订单模板
|
11064
|
+
# CustomsDeclaration -- 进出口报关单
|
11065
|
+
# WeightNote -- 磅单
|
11066
|
+
# MedicalMeter -- 血压仪表识别
|
11067
|
+
# BillOfLading -- 海运提单
|
11068
|
+
# EntrustmentBook -- 海运托书
|
11069
|
+
# WordRecognize -- 手写英文作文模版
|
11070
|
+
# Statement -- 对账单识别模板
|
11071
|
+
# BookingConfirmation -- 配舱通知书识别模板
|
11061
11072
|
# @type ConfigId: String
|
11062
11073
|
# @param EnableCoord: 是否开启全文字段坐标值的识别
|
11063
11074
|
# @type EnableCoord: Boolean
|
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.1013
|
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-03-
|
11
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|