tencentcloud-sdk-ocr 3.0.972 → 3.0.973
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/client.rb +3 -3
- data/lib/v20181119/models.rb +22 -18
- 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: d3924246eb410edea04020501a17dfbe552b4b76
|
|
4
|
+
data.tar.gz: beccffe8c17dd34ef501b15bd4dca5e347ce0bf4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 468e25fc29eb526bb7a898b53e8e8b5eb8489c6d32a918c7fd2c62f9e9e0ccf104333cb5b41a67565641e4e61419f20422ce23474c41ae10dc498596164efd61
|
|
7
|
+
data.tar.gz: 13be190d46726056b96a101a6a16c5807012190b4db7b0e1d65862d31abdddc437de67dfa294c2fd7694d4faf8656980417753792ad1f7226d86b61e4d107320
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.973
|
data/lib/v20181119/client.rb
CHANGED
|
@@ -1029,7 +1029,7 @@ module TencentCloud
|
|
|
1029
1029
|
# <table style="width:650px">
|
|
1030
1030
|
# <thead>
|
|
1031
1031
|
# <tr>
|
|
1032
|
-
# <th width="150"
|
|
1032
|
+
# <th width="150">扩展能力</th>
|
|
1033
1033
|
# <th width="500">能力项</th>
|
|
1034
1034
|
# </tr>
|
|
1035
1035
|
# </thead>
|
|
@@ -1545,7 +1545,7 @@ module TencentCloud
|
|
|
1545
1545
|
# <table style="width:650px">
|
|
1546
1546
|
# <thead>
|
|
1547
1547
|
# <tr>
|
|
1548
|
-
# <th width="150"
|
|
1548
|
+
# <th width="150">扩展能力</th>
|
|
1549
1549
|
# <th width="500">能力项</th>
|
|
1550
1550
|
# </tr>
|
|
1551
1551
|
# </thead>
|
|
@@ -2274,7 +2274,7 @@ module TencentCloud
|
|
|
2274
2274
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2275
2275
|
end
|
|
2276
2276
|
|
|
2277
|
-
# 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/
|
|
2277
|
+
# 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
|
2278
2278
|
|
|
2279
2279
|
# 默认接口请求频率限制:5次/秒。
|
|
2280
2280
|
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -1731,8 +1731,8 @@ module TencentCloud
|
|
|
1731
1731
|
|
|
1732
1732
|
attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
|
|
1733
1733
|
extend Gem::Deprecate
|
|
1734
|
-
deprecate :Angle, :none,
|
|
1735
|
-
deprecate :Angle=, :none,
|
|
1734
|
+
deprecate :Angle, :none, 2025, 1
|
|
1735
|
+
deprecate :Angle=, :none, 2025, 1
|
|
1736
1736
|
|
|
1737
1737
|
def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
|
|
1738
1738
|
@PageNumber = pagenumber
|
|
@@ -3546,8 +3546,8 @@ module TencentCloud
|
|
|
3546
3546
|
|
|
3547
3547
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
|
3548
3548
|
extend Gem::Deprecate
|
|
3549
|
-
deprecate :Angel, :none,
|
|
3550
|
-
deprecate :Angel=, :none,
|
|
3549
|
+
deprecate :Angel, :none, 2025, 1
|
|
3550
|
+
deprecate :Angel=, :none, 2025, 1
|
|
3551
3551
|
|
|
3552
3552
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
|
3553
3553
|
@TextDetections = textdetections
|
|
@@ -3653,8 +3653,8 @@ module TencentCloud
|
|
|
3653
3653
|
|
|
3654
3654
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
|
3655
3655
|
extend Gem::Deprecate
|
|
3656
|
-
deprecate :Angel, :none,
|
|
3657
|
-
deprecate :Angel=, :none,
|
|
3656
|
+
deprecate :Angel, :none, 2025, 1
|
|
3657
|
+
deprecate :Angel=, :none, 2025, 1
|
|
3658
3658
|
|
|
3659
3659
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
|
3660
3660
|
@TextDetections = textdetections
|
|
@@ -3866,8 +3866,8 @@ module TencentCloud
|
|
|
3866
3866
|
|
|
3867
3867
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
|
3868
3868
|
extend Gem::Deprecate
|
|
3869
|
-
deprecate :Angel, :none,
|
|
3870
|
-
deprecate :Angel=, :none,
|
|
3869
|
+
deprecate :Angel, :none, 2025, 1
|
|
3870
|
+
deprecate :Angel=, :none, 2025, 1
|
|
3871
3871
|
|
|
3872
3872
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
|
3873
3873
|
@TextDetections = textdetections
|
|
@@ -4137,8 +4137,8 @@ module TencentCloud
|
|
|
4137
4137
|
|
|
4138
4138
|
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
|
4139
4139
|
extend Gem::Deprecate
|
|
4140
|
-
deprecate :DetectFake, :none,
|
|
4141
|
-
deprecate :DetectFake=, :none,
|
|
4140
|
+
deprecate :DetectFake, :none, 2025, 1
|
|
4141
|
+
deprecate :DetectFake=, :none, 2025, 1
|
|
4142
4142
|
|
|
4143
4143
|
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
|
4144
4144
|
@ReturnHeadImage = returnheadimage
|
|
@@ -4207,10 +4207,10 @@ module TencentCloud
|
|
|
4207
4207
|
|
|
4208
4208
|
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
|
4209
4209
|
extend Gem::Deprecate
|
|
4210
|
-
deprecate :FakeDetectResult, :none,
|
|
4211
|
-
deprecate :FakeDetectResult=, :none,
|
|
4212
|
-
deprecate :WarningCode, :none,
|
|
4213
|
-
deprecate :WarningCode=, :none,
|
|
4210
|
+
deprecate :FakeDetectResult, :none, 2025, 1
|
|
4211
|
+
deprecate :FakeDetectResult=, :none, 2025, 1
|
|
4212
|
+
deprecate :WarningCode, :none, 2025, 1
|
|
4213
|
+
deprecate :WarningCode=, :none, 2025, 1
|
|
4214
4214
|
|
|
4215
4215
|
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)
|
|
4216
4216
|
@CnName = cnname
|
|
@@ -5552,8 +5552,8 @@ module TencentCloud
|
|
|
5552
5552
|
|
|
5553
5553
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
|
|
5554
5554
|
extend Gem::Deprecate
|
|
5555
|
-
deprecate :Warn, :none,
|
|
5556
|
-
deprecate :Warn=, :none,
|
|
5555
|
+
deprecate :Warn, :none, 2025, 1
|
|
5556
|
+
deprecate :Warn=, :none, 2025, 1
|
|
5557
5557
|
|
|
5558
5558
|
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)
|
|
5559
5559
|
@ID = id
|
|
@@ -10464,16 +10464,19 @@ module TencentCloud
|
|
|
10464
10464
|
# @type ReturnFullText: Boolean
|
|
10465
10465
|
# @param ConfigId: 配置id支持:General -- 通用场景 InvoiceEng -- 海运提单、国际invoice模版 WayBillEng --海运订单模板
|
|
10466
10466
|
# @type ConfigId: String
|
|
10467
|
+
# @param EnableCoord: 是否开启全文字段坐标值的识别
|
|
10468
|
+
# @type EnableCoord: Boolean
|
|
10467
10469
|
|
|
10468
|
-
attr_accessor :ImageUrl, :ImageBase64, :PdfPageNumber, :ItemNames, :ReturnFullText, :ConfigId
|
|
10470
|
+
attr_accessor :ImageUrl, :ImageBase64, :PdfPageNumber, :ItemNames, :ReturnFullText, :ConfigId, :EnableCoord
|
|
10469
10471
|
|
|
10470
|
-
def initialize(imageurl=nil, imagebase64=nil, pdfpagenumber=nil, itemnames=nil, returnfulltext=nil, configid=nil)
|
|
10472
|
+
def initialize(imageurl=nil, imagebase64=nil, pdfpagenumber=nil, itemnames=nil, returnfulltext=nil, configid=nil, enablecoord=nil)
|
|
10471
10473
|
@ImageUrl = imageurl
|
|
10472
10474
|
@ImageBase64 = imagebase64
|
|
10473
10475
|
@PdfPageNumber = pdfpagenumber
|
|
10474
10476
|
@ItemNames = itemnames
|
|
10475
10477
|
@ReturnFullText = returnfulltext
|
|
10476
10478
|
@ConfigId = configid
|
|
10479
|
+
@EnableCoord = enablecoord
|
|
10477
10480
|
end
|
|
10478
10481
|
|
|
10479
10482
|
def deserialize(params)
|
|
@@ -10483,6 +10486,7 @@ module TencentCloud
|
|
|
10483
10486
|
@ItemNames = params['ItemNames']
|
|
10484
10487
|
@ReturnFullText = params['ReturnFullText']
|
|
10485
10488
|
@ConfigId = params['ConfigId']
|
|
10489
|
+
@EnableCoord = params['EnableCoord']
|
|
10486
10490
|
end
|
|
10487
10491
|
end
|
|
10488
10492
|
|
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.973
|
|
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-12-
|
|
11
|
+
date: 2024-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|