tencentcloud-sdk-ocr 3.0.1122 → 3.0.1123
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 +14 -10
- 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: b4eb170b3a293148ce509fc260635172479f71c8
|
4
|
+
data.tar.gz: fce56c750e737ed23509c7cc818d6c6b080ee4cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065f2fa26c5af698a651ad8745cb2010f5f3606d347a7df331ab7c62ee15cfc49d536ec097b61099fb3ba0926e4a593fcb923df13d65e987b539ce67ee43bf32
|
7
|
+
data.tar.gz: 792a85d14d1a0d6f7d61c170331e366e40ebb9acafc059d549c9291045b6218f806b1f635de445a5bd45a2468666c007f859254d5150334dfcf105a3aab55f95
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1123
|
data/lib/v20181119/models.rb
CHANGED
@@ -2889,7 +2889,7 @@ module TencentCloud
|
|
2889
2889
|
# RideHailingTransportLicense -- 网约车运输证
|
2890
2890
|
# WayBill -- 快递运单
|
2891
2891
|
# AccountOpeningPermit -- 银行开户许可证
|
2892
|
-
# InvoiceEng --
|
2892
|
+
# InvoiceEng -- 国际发票模板
|
2893
2893
|
# Coin --钱币识别模板
|
2894
2894
|
# OnboardingDocuments -- 入职材料识别
|
2895
2895
|
# PropertyOwnershipCertificate -- 房产证识别
|
@@ -2994,7 +2994,7 @@ module TencentCloud
|
|
2994
2994
|
# @type EnableCoord: Boolean
|
2995
2995
|
# @param OutputParentKey: 是否开启父子key识别,默认是
|
2996
2996
|
# @type OutputParentKey: Boolean
|
2997
|
-
# @param ConfigAdvanced:
|
2997
|
+
# @param ConfigAdvanced: 模板的单个属性配置
|
2998
2998
|
# @type ConfigAdvanced: :class:`Tencentcloud::Ocr.v20181119.models.ConfigAdvanced`
|
2999
2999
|
|
3000
3000
|
attr_accessor :ImageUrl, :ImageBase64, :PdfPageNumber, :ItemNames, :ItemNamesShowMode, :ReturnFullText, :ConfigId, :EnableCoord, :OutputParentKey, :ConfigAdvanced
|
@@ -3093,7 +3093,7 @@ module TencentCloud
|
|
3093
3093
|
# @type ReturnFullText: Boolean
|
3094
3094
|
# @param ConfigId: 配置id支持:
|
3095
3095
|
# General -- 通用场景
|
3096
|
-
# InvoiceEng -- 国际invoice
|
3096
|
+
# InvoiceEng -- 国际invoice模板
|
3097
3097
|
# WayBillEng --海运订单模板
|
3098
3098
|
# CustomsDeclaration -- 进出口报关单
|
3099
3099
|
# WeightNote -- 磅单
|
@@ -3103,18 +3103,18 @@ module TencentCloud
|
|
3103
3103
|
# Statement -- 对账单识别模板
|
3104
3104
|
# BookingConfirmation -- 配舱通知书识别模板
|
3105
3105
|
# AirWayBill -- 航空运单识别模板
|
3106
|
-
# Table --
|
3106
|
+
# Table -- 表格模板
|
3107
3107
|
# SteelLabel -- 实物标签识别模板
|
3108
3108
|
# CarInsurance -- 车辆保险单识别模板
|
3109
3109
|
# MultiRealEstateCertificate -- 房产材料识别模板
|
3110
3110
|
# MultiRealEstateMaterial -- 房产证明识别模板
|
3111
|
-
# HongKongUtilityBill --
|
3111
|
+
# HongKongUtilityBill -- 中国香港水电煤单识别模板
|
3112
3112
|
# @type ConfigId: String
|
3113
3113
|
# @param EnableCoord: 是否开启全文字段坐标值的识别
|
3114
3114
|
# @type EnableCoord: Boolean
|
3115
3115
|
# @param OutputParentKey: 是否开启父子key识别,默认是
|
3116
3116
|
# @type OutputParentKey: Boolean
|
3117
|
-
# @param ConfigAdvanced:
|
3117
|
+
# @param ConfigAdvanced: 模板的单个属性配置
|
3118
3118
|
# @type ConfigAdvanced: :class:`Tencentcloud::Ocr.v20181119.models.ConfigAdvanced`
|
3119
3119
|
# @param OutputLanguage: cn时,添加的key为中文
|
3120
3120
|
# en时,添加的key为英语
|
@@ -3820,10 +3820,12 @@ module TencentCloud
|
|
3820
3820
|
# @type PdfPageNumber: Integer
|
3821
3821
|
# @param EnableDetectText: 文本检测开关,默认为true。设置为false可直接进行单行识别,适用于仅包含正向单行文本的图片场景。
|
3822
3822
|
# @type EnableDetectText: Boolean
|
3823
|
+
# @param ConfigID: 配置ID支持: OCR -- 通用场景 MulOCR--多语种场景
|
3824
|
+
# @type ConfigID: String
|
3823
3825
|
|
3824
|
-
attr_accessor :ImageBase64, :ImageUrl, :IsWords, :EnableDetectSplit, :IsPdf, :PdfPageNumber, :EnableDetectText
|
3826
|
+
attr_accessor :ImageBase64, :ImageUrl, :IsWords, :EnableDetectSplit, :IsPdf, :PdfPageNumber, :EnableDetectText, :ConfigID
|
3825
3827
|
|
3826
|
-
def initialize(imagebase64=nil, imageurl=nil, iswords=nil, enabledetectsplit=nil, ispdf=nil, pdfpagenumber=nil, enabledetecttext=nil)
|
3828
|
+
def initialize(imagebase64=nil, imageurl=nil, iswords=nil, enabledetectsplit=nil, ispdf=nil, pdfpagenumber=nil, enabledetecttext=nil, configid=nil)
|
3827
3829
|
@ImageBase64 = imagebase64
|
3828
3830
|
@ImageUrl = imageurl
|
3829
3831
|
@IsWords = iswords
|
@@ -3831,6 +3833,7 @@ module TencentCloud
|
|
3831
3833
|
@IsPdf = ispdf
|
3832
3834
|
@PdfPageNumber = pdfpagenumber
|
3833
3835
|
@EnableDetectText = enabledetecttext
|
3836
|
+
@ConfigID = configid
|
3834
3837
|
end
|
3835
3838
|
|
3836
3839
|
def deserialize(params)
|
@@ -3841,6 +3844,7 @@ module TencentCloud
|
|
3841
3844
|
@IsPdf = params['IsPdf']
|
3842
3845
|
@PdfPageNumber = params['PdfPageNumber']
|
3843
3846
|
@EnableDetectText = params['EnableDetectText']
|
3847
|
+
@ConfigID = params['ConfigID']
|
3844
3848
|
end
|
3845
3849
|
end
|
3846
3850
|
|
@@ -4571,10 +4575,10 @@ module TencentCloud
|
|
4571
4575
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
|
4572
4576
|
# @type PdfPageNumber: Integer
|
4573
4577
|
# @param ConfigId: 配置id支持:
|
4574
|
-
# ArticleRecognize --
|
4578
|
+
# ArticleRecognize -- 手写作文模板
|
4575
4579
|
# 默认:ArticleRecognize
|
4576
4580
|
# @type ConfigId: String
|
4577
|
-
# @param Scene:
|
4581
|
+
# @param Scene: 模板的单个属性配置
|
4578
4582
|
# @type Scene: String
|
4579
4583
|
|
4580
4584
|
attr_accessor :ImageUrl, :ImageBase64, :PdfPageNumber, :ConfigId, :Scene
|
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.1123
|
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-08-
|
11
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|