tencentcloud-sdk-ocr 3.0.838 → 3.0.839
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/client.rb +3 -2
- data/lib/v20181119/models.rb +14 -14
- 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: d24957a0fc760266bcaf820d6758511448b4d1c7
|
4
|
+
data.tar.gz: 04363fc8e6e22b0c1a8818256a7cd51ca20a979b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4800117adf3aeb21641940ea2c5e47ff162756744e89e8baa861820c14212a9e83e6188195f07134c74f86e16b7592630958f8bafc3bdbe4f7d4a3a0bc20360
|
7
|
+
data.tar.gz: 743b1737fda4569cc2081b7145fb6bb4fd2c1a192d5de237f351140e414076e036cce446f0d7ea8c8e7c4bd6a01c2abad331398662f08888b3caef0cf67538a2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.839
|
data/lib/v20181119/client.rb
CHANGED
@@ -562,9 +562,9 @@ module TencentCloud
|
|
562
562
|
|
563
563
|
# 适用于文字较多、版式复杂、对识别准召率要求较高的场景,如试卷试题、网络图片、街景店招牌、法律卷宗等场景。
|
564
564
|
|
565
|
-
#
|
565
|
+
# 产品优势:与通用印刷体识别接口相比,本接口提供更高精度的通用文字识别服务,在手写体、文字较多、长串数字、小字、模糊字、倾斜文本等困难场景下,高精度版的准确率和召回率更高。
|
566
566
|
|
567
|
-
#
|
567
|
+
# 通用文字识别不同版本的差异如下:
|
568
568
|
# <table style="width:715px">
|
569
569
|
# <thead>
|
570
570
|
# <tr>
|
@@ -2609,6 +2609,7 @@ module TencentCloud
|
|
2609
2609
|
end
|
2610
2610
|
|
2611
2611
|
# 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
2612
|
+
# 默认接口请求频率限制:10次/秒。
|
2612
2613
|
|
2613
2614
|
# @param request: Request instance for VinOCR.
|
2614
2615
|
# @type request: :class:`Tencentcloud::ocr::V20181119::VinOCRRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -1568,8 +1568,8 @@ module TencentCloud
|
|
1568
1568
|
|
1569
1569
|
attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
|
1570
1570
|
extend Gem::Deprecate
|
1571
|
-
deprecate :Angle, :none, 2024,
|
1572
|
-
deprecate :Angle=, :none, 2024,
|
1571
|
+
deprecate :Angle, :none, 2024, 6
|
1572
|
+
deprecate :Angle=, :none, 2024, 6
|
1573
1573
|
|
1574
1574
|
def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
|
1575
1575
|
@PageNumber = pagenumber
|
@@ -3143,8 +3143,8 @@ module TencentCloud
|
|
3143
3143
|
|
3144
3144
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3145
3145
|
extend Gem::Deprecate
|
3146
|
-
deprecate :Angel, :none, 2024,
|
3147
|
-
deprecate :Angel=, :none, 2024,
|
3146
|
+
deprecate :Angel, :none, 2024, 6
|
3147
|
+
deprecate :Angel=, :none, 2024, 6
|
3148
3148
|
|
3149
3149
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3150
3150
|
@TextDetections = textdetections
|
@@ -3254,8 +3254,8 @@ module TencentCloud
|
|
3254
3254
|
|
3255
3255
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
3256
3256
|
extend Gem::Deprecate
|
3257
|
-
deprecate :Angel, :none, 2024,
|
3258
|
-
deprecate :Angel=, :none, 2024,
|
3257
|
+
deprecate :Angel, :none, 2024, 6
|
3258
|
+
deprecate :Angel=, :none, 2024, 6
|
3259
3259
|
|
3260
3260
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
3261
3261
|
@TextDetections = textdetections
|
@@ -3645,8 +3645,8 @@ module TencentCloud
|
|
3645
3645
|
|
3646
3646
|
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
3647
3647
|
extend Gem::Deprecate
|
3648
|
-
deprecate :DetectFake, :none, 2024,
|
3649
|
-
deprecate :DetectFake=, :none, 2024,
|
3648
|
+
deprecate :DetectFake, :none, 2024, 6
|
3649
|
+
deprecate :DetectFake=, :none, 2024, 6
|
3650
3650
|
|
3651
3651
|
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
3652
3652
|
@ReturnHeadImage = returnheadimage
|
@@ -3714,10 +3714,10 @@ module TencentCloud
|
|
3714
3714
|
|
3715
3715
|
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
3716
3716
|
extend Gem::Deprecate
|
3717
|
-
deprecate :FakeDetectResult, :none, 2024,
|
3718
|
-
deprecate :FakeDetectResult=, :none, 2024,
|
3719
|
-
deprecate :WarningCode, :none, 2024,
|
3720
|
-
deprecate :WarningCode=, :none, 2024,
|
3717
|
+
deprecate :FakeDetectResult, :none, 2024, 6
|
3718
|
+
deprecate :FakeDetectResult=, :none, 2024, 6
|
3719
|
+
deprecate :WarningCode, :none, 2024, 6
|
3720
|
+
deprecate :WarningCode=, :none, 2024, 6
|
3721
3721
|
|
3722
3722
|
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)
|
3723
3723
|
@CnName = cnname
|
@@ -4743,8 +4743,8 @@ module TencentCloud
|
|
4743
4743
|
|
4744
4744
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :WarnCardInfos, :RequestId
|
4745
4745
|
extend Gem::Deprecate
|
4746
|
-
deprecate :Warn, :none, 2024,
|
4747
|
-
deprecate :Warn=, :none, 2024,
|
4746
|
+
deprecate :Warn, :none, 2024, 6
|
4747
|
+
deprecate :Warn=, :none, 2024, 6
|
4748
4748
|
|
4749
4749
|
def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, warncardinfos=nil, requestid=nil)
|
4750
4750
|
@ID = id
|
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.839
|
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-06-
|
11
|
+
date: 2024-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|