tencentcloud-sdk-ocr 3.0.1159 → 3.0.1161

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0838dff084aa9db23c7d8cb842ca6390512aa7a4
4
- data.tar.gz: d9f21c375d4cd80d6b062772b0b693b51dde6f5b
3
+ metadata.gz: e4b33dd9507bdf7fc89689e3e0fa066e8a362e61
4
+ data.tar.gz: c18be105faaa1abb9330f97a42ee18c0ee156b54
5
5
  SHA512:
6
- metadata.gz: 981a86e651c9144a9d8d9769f9b6bbe9ad42a5083ca1faba3f1507697758b965d3c6bab1515f7f609db47865fc94e880f63e66e34d86b45c9127ea07b80c0c8b
7
- data.tar.gz: c4e40e8dc2d93781c29bab5f7fae77d37b1b9984d26bc54a03a3ea0c671f4a2166d680581bb4ccd31e989296bf5185db45f2ad11e1339cb1cb360577050c3230
6
+ metadata.gz: 39e637eb8f84295edec40b108068683b293f9fc771f0d6225c967046ded85ccea87cbd3fcba0deef1e0ea2a481cb22c563179c09af3acd20fbbfa789558f9392
7
+ data.tar.gz: 16481df56c029ee2de77e619cbcedc4d9558109ef0b77ae0077583d227ad9dc381d3f817ad98a7f3900f6edeea199d30943d6e9e45b5a6df299cd80dd58b5572
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1159
1
+ 3.0.1161
@@ -1187,35 +1187,6 @@ module TencentCloud
1187
1187
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1188
1188
  end
1189
1189
 
1190
- # 不再维护,功能已切到其它接口
1191
-
1192
- # <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1193
- # 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
1194
-
1195
- # 默认接口请求频率限制:5次/秒。
1196
-
1197
- # @param request: Request instance for InstitutionOCR.
1198
- # @type request: :class:`Tencentcloud::ocr::V20181119::InstitutionOCRRequest`
1199
- # @rtype: :class:`Tencentcloud::ocr::V20181119::InstitutionOCRResponse`
1200
- def InstitutionOCR(request)
1201
- body = send_request('InstitutionOCR', request.serialize)
1202
- response = JSON.parse(body)
1203
- if response['Response'].key?('Error') == false
1204
- model = InstitutionOCRResponse.new
1205
- model.deserialize(response['Response'])
1206
- model
1207
- else
1208
- code = response['Response']['Error']['Code']
1209
- message = response['Response']['Error']['Message']
1210
- reqid = response['Response']['RequestId']
1211
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1212
- end
1213
- rescue TencentCloud::Common::TencentCloudSDKException => e
1214
- raise e
1215
- rescue StandardError => e
1216
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1217
- end
1218
-
1219
1190
  # 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
1220
1191
 
1221
1192
  # 默认接口请求频率限制:1次/秒。
@@ -1424,35 +1395,6 @@ module TencentCloud
1424
1395
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1425
1396
  end
1426
1397
 
1427
- # 不再维护,功能已切到其它接口
1428
-
1429
- # <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1430
- # 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
1431
-
1432
- # 默认接口请求频率限制:5次/秒。
1433
-
1434
- # @param request: Request instance for OrgCodeCertOCR.
1435
- # @type request: :class:`Tencentcloud::ocr::V20181119::OrgCodeCertOCRRequest`
1436
- # @rtype: :class:`Tencentcloud::ocr::V20181119::OrgCodeCertOCRResponse`
1437
- def OrgCodeCertOCR(request)
1438
- body = send_request('OrgCodeCertOCR', request.serialize)
1439
- response = JSON.parse(body)
1440
- if response['Response'].key?('Error') == false
1441
- model = OrgCodeCertOCRResponse.new
1442
- model.deserialize(response['Response'])
1443
- model
1444
- else
1445
- code = response['Response']['Error']['Code']
1446
- message = response['Response']['Error']['Message']
1447
- reqid = response['Response']['RequestId']
1448
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1449
- end
1450
- rescue TencentCloud::Common::TencentCloudSDKException => e
1451
- raise e
1452
- rescue StandardError => e
1453
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1454
- end
1455
-
1456
1398
  # <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
1457
1399
 
1458
1400
  # 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
@@ -1507,36 +1449,6 @@ module TencentCloud
1507
1449
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1508
1450
  end
1509
1451
 
1510
- # 不再维护,功能已切到其它接口
1511
-
1512
- # <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1513
- # 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
1514
- # 目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
1515
-
1516
- # 默认接口请求频率限制:5次/秒。
1517
-
1518
- # @param request: Request instance for PropOwnerCertOCR.
1519
- # @type request: :class:`Tencentcloud::ocr::V20181119::PropOwnerCertOCRRequest`
1520
- # @rtype: :class:`Tencentcloud::ocr::V20181119::PropOwnerCertOCRResponse`
1521
- def PropOwnerCertOCR(request)
1522
- body = send_request('PropOwnerCertOCR', request.serialize)
1523
- response = JSON.parse(body)
1524
- if response['Response'].key?('Error') == false
1525
- model = PropOwnerCertOCRResponse.new
1526
- model.deserialize(response['Response'])
1527
- model
1528
- else
1529
- code = response['Response']['Error']['Code']
1530
- message = response['Response']['Error']['Message']
1531
- reqid = response['Response']['RequestId']
1532
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1533
- end
1534
- rescue TencentCloud::Common::TencentCloudSDKException => e
1535
- raise e
1536
- rescue StandardError => e
1537
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1538
- end
1539
-
1540
1452
  # 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
1541
1453
 
1542
1454
  # 默认接口请求频率限制:5次/秒。
@@ -1768,33 +1680,6 @@ module TencentCloud
1768
1680
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1769
1681
  end
1770
1682
 
1771
- # 不再维护,功能已切到其它接口
1772
-
1773
- # <b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
1774
- # 外国人永久居留身份证识别
1775
-
1776
- # @param request: Request instance for RecognizeForeignPermanentResidentIdCard.
1777
- # @type request: :class:`Tencentcloud::ocr::V20181119::RecognizeForeignPermanentResidentIdCardRequest`
1778
- # @rtype: :class:`Tencentcloud::ocr::V20181119::RecognizeForeignPermanentResidentIdCardResponse`
1779
- def RecognizeForeignPermanentResidentIdCard(request)
1780
- body = send_request('RecognizeForeignPermanentResidentIdCard', request.serialize)
1781
- response = JSON.parse(body)
1782
- if response['Response'].key?('Error') == false
1783
- model = RecognizeForeignPermanentResidentIdCardResponse.new
1784
- model.deserialize(response['Response'])
1785
- model
1786
- else
1787
- code = response['Response']['Error']['Code']
1788
- message = response['Response']['Error']['Message']
1789
- reqid = response['Response']['RequestId']
1790
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1791
- end
1792
- rescue TencentCloud::Common::TencentCloudSDKException => e
1793
- raise e
1794
- rescue StandardError => e
1795
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1796
- end
1797
-
1798
1683
  # 公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
1799
1684
 
1800
1685
  # 默认接口请求频率限制:2次/秒。
@@ -2072,33 +1957,6 @@ module TencentCloud
2072
1957
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2073
1958
  end
2074
1959
 
2075
- # 不再维护,功能已切到其它接口
2076
-
2077
- # <b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
2078
- # 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
2079
-
2080
- # @param request: Request instance for RecognizeGeneralTextImageWarn.
2081
- # @type request: :class:`Tencentcloud::ocr::V20181119::RecognizeGeneralTextImageWarnRequest`
2082
- # @rtype: :class:`Tencentcloud::ocr::V20181119::RecognizeGeneralTextImageWarnResponse`
2083
- def RecognizeGeneralTextImageWarn(request)
2084
- body = send_request('RecognizeGeneralTextImageWarn', request.serialize)
2085
- response = JSON.parse(body)
2086
- if response['Response'].key?('Error') == false
2087
- model = RecognizeGeneralTextImageWarnResponse.new
2088
- model.deserialize(response['Response'])
2089
- model
2090
- else
2091
- code = response['Response']['Error']['Code']
2092
- message = response['Response']['Error']['Message']
2093
- reqid = response['Response']['RequestId']
2094
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2095
- end
2096
- rescue TencentCloud::Common::TencentCloudSDKException => e
2097
- raise e
2098
- rescue StandardError => e
2099
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2100
- end
2101
-
2102
1960
  # 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
2103
1961
 
2104
1962
  # 默认接口请求频率限制:10次/秒。
@@ -3944,8 +3944,8 @@ module TencentCloud
3944
3944
 
3945
3945
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
3946
3946
  extend Gem::Deprecate
3947
- deprecate :Angel, :none, 2025, 10
3948
- deprecate :Angel=, :none, 2025, 10
3947
+ deprecate :Angel, :none, 2025, 11
3948
+ deprecate :Angel=, :none, 2025, 11
3949
3949
 
3950
3950
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
3951
3951
  @TextDetections = textdetections
@@ -4051,8 +4051,8 @@ module TencentCloud
4051
4051
 
4052
4052
  attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
4053
4053
  extend Gem::Deprecate
4054
- deprecate :Angel, :none, 2025, 10
4055
- deprecate :Angel=, :none, 2025, 10
4054
+ deprecate :Angel, :none, 2025, 11
4055
+ deprecate :Angel=, :none, 2025, 11
4056
4056
 
4057
4057
  def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
4058
4058
  @TextDetections = textdetections
@@ -4148,8 +4148,8 @@ module TencentCloud
4148
4148
 
4149
4149
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4150
4150
  extend Gem::Deprecate
4151
- deprecate :Angel, :none, 2025, 10
4152
- deprecate :Angel=, :none, 2025, 10
4151
+ deprecate :Angel, :none, 2025, 11
4152
+ deprecate :Angel=, :none, 2025, 11
4153
4153
 
4154
4154
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4155
4155
  @TextDetections = textdetections
@@ -4295,8 +4295,8 @@ module TencentCloud
4295
4295
 
4296
4296
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4297
4297
  extend Gem::Deprecate
4298
- deprecate :Angel, :none, 2025, 10
4299
- deprecate :Angel=, :none, 2025, 10
4298
+ deprecate :Angel, :none, 2025, 11
4299
+ deprecate :Angel=, :none, 2025, 11
4300
4300
 
4301
4301
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4302
4302
  @TextDetections = textdetections
@@ -4364,39 +4364,6 @@ module TencentCloud
4364
4364
  end
4365
4365
  end
4366
4366
 
4367
- # 通用告警详情
4368
- class GeneralWarnInfo < TencentCloud::Common::AbstractModel
4369
- # @param IsWarn: 是否存在该告警
4370
- # @type IsWarn: Boolean
4371
- # @param Polygon: 告警位置四点坐标
4372
- # @type Polygon: Array
4373
- # @param SpecificMatter: 特殊判定,支持包括
4374
-
4375
- # Finger:由手指导致的不完整,仅在不完整告警中返回
4376
- # @type SpecificMatter: String
4377
-
4378
- attr_accessor :IsWarn, :Polygon, :SpecificMatter
4379
-
4380
- def initialize(iswarn=nil, polygon=nil, specificmatter=nil)
4381
- @IsWarn = iswarn
4382
- @Polygon = polygon
4383
- @SpecificMatter = specificmatter
4384
- end
4385
-
4386
- def deserialize(params)
4387
- @IsWarn = params['IsWarn']
4388
- unless params['Polygon'].nil?
4389
- @Polygon = []
4390
- params['Polygon'].each do |i|
4391
- polygon_tmp = Polygon.new
4392
- polygon_tmp.deserialize(i)
4393
- @Polygon << polygon_tmp
4394
- end
4395
- end
4396
- @SpecificMatter = params['SpecificMatter']
4397
- end
4398
- end
4399
-
4400
4367
  # GetOCRResult请求参数结构体
4401
4368
  class GetOCRResultRequest < TencentCloud::Common::AbstractModel
4402
4369
  # @param OCRToken: token值
@@ -4530,8 +4497,8 @@ module TencentCloud
4530
4497
 
4531
4498
  attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
4532
4499
  extend Gem::Deprecate
4533
- deprecate :DetectFake, :none, 2025, 10
4534
- deprecate :DetectFake=, :none, 2025, 10
4500
+ deprecate :DetectFake, :none, 2025, 11
4501
+ deprecate :DetectFake=, :none, 2025, 11
4535
4502
 
4536
4503
  def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
4537
4504
  @ReturnHeadImage = returnheadimage
@@ -4603,10 +4570,10 @@ module TencentCloud
4603
4570
 
4604
4571
  attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :SmallHeadImage, :WarningCode, :WarnCardInfos, :WindowEmbeddedText, :RequestId
4605
4572
  extend Gem::Deprecate
4606
- deprecate :FakeDetectResult, :none, 2025, 10
4607
- deprecate :FakeDetectResult=, :none, 2025, 10
4608
- deprecate :WarningCode, :none, 2025, 10
4609
- deprecate :WarningCode=, :none, 2025, 10
4573
+ deprecate :FakeDetectResult, :none, 2025, 11
4574
+ deprecate :FakeDetectResult=, :none, 2025, 11
4575
+ deprecate :WarningCode, :none, 2025, 11
4576
+ deprecate :WarningCode=, :none, 2025, 11
4610
4577
 
4611
4578
  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, smallheadimage=nil, warningcode=nil, warncardinfos=nil, windowembeddedtext=nil, requestid=nil)
4612
4579
  @CnName = cnname
@@ -4716,16 +4683,9 @@ module TencentCloud
4716
4683
 
4717
4684
  # HmtResidentPermitOCR请求参数结构体
4718
4685
  class HmtResidentPermitOCRRequest < TencentCloud::Common::AbstractModel
4719
- # @param ImageBase64: 图片的 Base64 值。
4720
- # 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4721
- # 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4722
- # 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4686
+ # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4723
4687
  # @type ImageBase64: String
4724
- # @param ImageUrl: 图片的 Url 地址。
4725
- # 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4726
- # 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
4727
- # 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4728
- # 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4688
+ # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4729
4689
  # @type ImageUrl: String
4730
4690
  # @param CardSide: FRONT:有照片的一面(人像面),
4731
4691
  # BACK:无照片的一面(国徽面),
@@ -5073,8 +5033,8 @@ module TencentCloud
5073
5033
 
5074
5034
  attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify, :CardWarnType
5075
5035
  extend Gem::Deprecate
5076
- deprecate :EnableDateVerify, :none, 2025, 10
5077
- deprecate :EnableDateVerify=, :none, 2025, 10
5036
+ deprecate :EnableDateVerify, :none, 2025, 11
5037
+ deprecate :EnableDateVerify=, :none, 2025, 11
5078
5038
 
5079
5039
  def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil, cardwarntype=nil)
5080
5040
  @ImageBase64 = imagebase64
@@ -5330,62 +5290,6 @@ module TencentCloud
5330
5290
  end
5331
5291
  end
5332
5292
 
5333
- # InstitutionOCR请求参数结构体
5334
- class InstitutionOCRRequest < TencentCloud::Common::AbstractModel
5335
- # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5336
- # @type ImageBase64: String
5337
- # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5338
- # @type ImageUrl: String
5339
-
5340
- attr_accessor :ImageBase64, :ImageUrl
5341
-
5342
- def initialize(imagebase64=nil, imageurl=nil)
5343
- @ImageBase64 = imagebase64
5344
- @ImageUrl = imageurl
5345
- end
5346
-
5347
- def deserialize(params)
5348
- @ImageBase64 = params['ImageBase64']
5349
- @ImageUrl = params['ImageUrl']
5350
- end
5351
- end
5352
-
5353
- # InstitutionOCR返回参数结构体
5354
- class InstitutionOCRResponse < TencentCloud::Common::AbstractModel
5355
- # @param RegId: 注册号
5356
- # @type RegId: String
5357
- # @param ValidDate: 有效期
5358
- # @type ValidDate: String
5359
- # @param Location: 住所
5360
- # @type Location: String
5361
- # @param Name: 名称
5362
- # @type Name: String
5363
- # @param LegalPerson: 法定代表人
5364
- # @type LegalPerson: String
5365
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5366
- # @type RequestId: String
5367
-
5368
- attr_accessor :RegId, :ValidDate, :Location, :Name, :LegalPerson, :RequestId
5369
-
5370
- def initialize(regid=nil, validdate=nil, location=nil, name=nil, legalperson=nil, requestid=nil)
5371
- @RegId = regid
5372
- @ValidDate = validdate
5373
- @Location = location
5374
- @Name = name
5375
- @LegalPerson = legalperson
5376
- @RequestId = requestid
5377
- end
5378
-
5379
- def deserialize(params)
5380
- @RegId = params['RegId']
5381
- @ValidDate = params['ValidDate']
5382
- @Location = params['Location']
5383
- @Name = params['Name']
5384
- @LegalPerson = params['LegalPerson']
5385
- @RequestId = params['RequestId']
5386
- end
5387
- end
5388
-
5389
5293
  # 保险单据信息
5390
5294
  class InsuranceBillInfo < TencentCloud::Common::AbstractModel
5391
5295
  # @param Name: 识别出的字段名称(关键字),支持以下字段:
@@ -6048,10 +5952,10 @@ module TencentCloud
6048
5952
 
6049
5953
  attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
6050
5954
  extend Gem::Deprecate
6051
- deprecate :Warn, :none, 2025, 10
6052
- deprecate :Warn=, :none, 2025, 10
6053
- deprecate :AdvancedInfo, :none, 2025, 10
6054
- deprecate :AdvancedInfo=, :none, 2025, 10
5955
+ deprecate :Warn, :none, 2025, 11
5956
+ deprecate :Warn=, :none, 2025, 11
5957
+ deprecate :AdvancedInfo, :none, 2025, 11
5958
+ deprecate :AdvancedInfo=, :none, 2025, 11
6055
5959
 
6056
5960
  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)
6057
5961
  @ID = id
@@ -6160,10 +6064,10 @@ module TencentCloud
6160
6064
 
6161
6065
  attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
6162
6066
  extend Gem::Deprecate
6163
- deprecate :Warn, :none, 2025, 10
6164
- deprecate :Warn=, :none, 2025, 10
6165
- deprecate :AdvancedInfo, :none, 2025, 10
6166
- deprecate :AdvancedInfo=, :none, 2025, 10
6067
+ deprecate :Warn, :none, 2025, 11
6068
+ deprecate :Warn=, :none, 2025, 11
6069
+ deprecate :AdvancedInfo, :none, 2025, 11
6070
+ deprecate :AdvancedInfo=, :none, 2025, 11
6167
6071
 
6168
6072
  def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, requestid=nil)
6169
6073
  @ID = id
@@ -7191,7 +7095,7 @@ module TencentCloud
7191
7095
  class OnlineTaxiItinerary < TencentCloud::Common::AbstractModel
7192
7096
  # @param Title: 发票名称
7193
7097
  # @type Title: String
7194
- # @param Content: 识别出的字段名称(关键字)
7098
+ # @param Content: 识别出的字段名称
7195
7099
  # @type Content: Array
7196
7100
 
7197
7101
  attr_accessor :Title, :Content
@@ -7206,9 +7110,9 @@ module TencentCloud
7206
7110
  unless params['Content'].nil?
7207
7111
  @Content = []
7208
7112
  params['Content'].each do |i|
7209
- otherinvoiceitem_tmp = OtherInvoiceItem.new
7210
- otherinvoiceitem_tmp.deserialize(i)
7211
- @Content << otherinvoiceitem_tmp
7113
+ onlinetaxiitineraryinfo_tmp = OnlineTaxiItineraryInfo.new
7114
+ onlinetaxiitineraryinfo_tmp.deserialize(i)
7115
+ @Content << onlinetaxiitineraryinfo_tmp
7212
7116
  end
7213
7117
  end
7214
7118
  end
@@ -7239,58 +7143,6 @@ module TencentCloud
7239
7143
  end
7240
7144
  end
7241
7145
 
7242
- # OrgCodeCertOCR请求参数结构体
7243
- class OrgCodeCertOCRRequest < TencentCloud::Common::AbstractModel
7244
- # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7245
- # @type ImageBase64: String
7246
- # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7247
- # @type ImageUrl: String
7248
-
7249
- attr_accessor :ImageBase64, :ImageUrl
7250
-
7251
- def initialize(imagebase64=nil, imageurl=nil)
7252
- @ImageBase64 = imagebase64
7253
- @ImageUrl = imageurl
7254
- end
7255
-
7256
- def deserialize(params)
7257
- @ImageBase64 = params['ImageBase64']
7258
- @ImageUrl = params['ImageUrl']
7259
- end
7260
- end
7261
-
7262
- # OrgCodeCertOCR返回参数结构体
7263
- class OrgCodeCertOCRResponse < TencentCloud::Common::AbstractModel
7264
- # @param OrgCode: 代码
7265
- # @type OrgCode: String
7266
- # @param Name: 机构名称
7267
- # @type Name: String
7268
- # @param Address: 地址
7269
- # @type Address: String
7270
- # @param ValidDate: 有效期
7271
- # @type ValidDate: String
7272
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7273
- # @type RequestId: String
7274
-
7275
- attr_accessor :OrgCode, :Name, :Address, :ValidDate, :RequestId
7276
-
7277
- def initialize(orgcode=nil, name=nil, address=nil, validdate=nil, requestid=nil)
7278
- @OrgCode = orgcode
7279
- @Name = name
7280
- @Address = address
7281
- @ValidDate = validdate
7282
- @RequestId = requestid
7283
- end
7284
-
7285
- def deserialize(params)
7286
- @OrgCode = params['OrgCode']
7287
- @Name = params['Name']
7288
- @Address = params['Address']
7289
- @ValidDate = params['ValidDate']
7290
- @RequestId = params['RequestId']
7291
- end
7292
- end
7293
-
7294
7146
  # 其他发票
7295
7147
  class OtherInvoice < TencentCloud::Common::AbstractModel
7296
7148
  # @param Title: 发票名称
@@ -7881,66 +7733,6 @@ module TencentCloud
7881
7733
  end
7882
7734
  end
7883
7735
 
7884
- # PropOwnerCertOCR请求参数结构体
7885
- class PropOwnerCertOCRRequest < TencentCloud::Common::AbstractModel
7886
- # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7887
- # @type ImageBase64: String
7888
- # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7889
- # @type ImageUrl: String
7890
-
7891
- attr_accessor :ImageBase64, :ImageUrl
7892
-
7893
- def initialize(imagebase64=nil, imageurl=nil)
7894
- @ImageBase64 = imagebase64
7895
- @ImageUrl = imageurl
7896
- end
7897
-
7898
- def deserialize(params)
7899
- @ImageBase64 = params['ImageBase64']
7900
- @ImageUrl = params['ImageUrl']
7901
- end
7902
- end
7903
-
7904
- # PropOwnerCertOCR返回参数结构体
7905
- class PropOwnerCertOCRResponse < TencentCloud::Common::AbstractModel
7906
- # @param Owner: 房地产权利人
7907
- # @type Owner: String
7908
- # @param Possession: 共有情况
7909
- # @type Possession: String
7910
- # @param RegisterTime: 登记时间
7911
- # @type RegisterTime: String
7912
- # @param Purpose: 规划用途
7913
- # @type Purpose: String
7914
- # @param Nature: 房屋性质
7915
- # @type Nature: String
7916
- # @param Location: 房地坐落
7917
- # @type Location: String
7918
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7919
- # @type RequestId: String
7920
-
7921
- attr_accessor :Owner, :Possession, :RegisterTime, :Purpose, :Nature, :Location, :RequestId
7922
-
7923
- def initialize(owner=nil, possession=nil, registertime=nil, purpose=nil, nature=nil, location=nil, requestid=nil)
7924
- @Owner = owner
7925
- @Possession = possession
7926
- @RegisterTime = registertime
7927
- @Purpose = purpose
7928
- @Nature = nature
7929
- @Location = location
7930
- @RequestId = requestid
7931
- end
7932
-
7933
- def deserialize(params)
7934
- @Owner = params['Owner']
7935
- @Possession = params['Possession']
7936
- @RegisterTime = params['RegisterTime']
7937
- @Purpose = params['Purpose']
7938
- @Nature = params['Nature']
7939
- @Location = params['Location']
7940
- @RequestId = params['RequestId']
7941
- end
7942
- end
7943
-
7944
7736
  # 图片大小
7945
7737
  class QrcodeImgSize < TencentCloud::Common::AbstractModel
7946
7738
  # @param Wide: 宽
@@ -8884,98 +8676,6 @@ module TencentCloud
8884
8676
  end
8885
8677
  end
8886
8678
 
8887
- # RecognizeForeignPermanentResidentIdCard请求参数结构体
8888
- class RecognizeForeignPermanentResidentIdCardRequest < TencentCloud::Common::AbstractModel
8889
- # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume
8890
- # @type ImageUrl: String
8891
- # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
8892
- # @type ImageBase64: String
8893
- # @param EnablePdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
8894
- # @type EnablePdf: Boolean
8895
- # @param PdfPageNumber: 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
8896
- # 示例值:1
8897
- # @type PdfPageNumber: Integer
8898
- # @param CropPortrait: 是否返回头像和位置坐标
8899
- # @type CropPortrait: Boolean
8900
-
8901
- attr_accessor :ImageUrl, :ImageBase64, :EnablePdf, :PdfPageNumber, :CropPortrait
8902
-
8903
- def initialize(imageurl=nil, imagebase64=nil, enablepdf=nil, pdfpagenumber=nil, cropportrait=nil)
8904
- @ImageUrl = imageurl
8905
- @ImageBase64 = imagebase64
8906
- @EnablePdf = enablepdf
8907
- @PdfPageNumber = pdfpagenumber
8908
- @CropPortrait = cropportrait
8909
- end
8910
-
8911
- def deserialize(params)
8912
- @ImageUrl = params['ImageUrl']
8913
- @ImageBase64 = params['ImageBase64']
8914
- @EnablePdf = params['EnablePdf']
8915
- @PdfPageNumber = params['PdfPageNumber']
8916
- @CropPortrait = params['CropPortrait']
8917
- end
8918
- end
8919
-
8920
- # RecognizeForeignPermanentResidentIdCard返回参数结构体
8921
- class RecognizeForeignPermanentResidentIdCardResponse < TencentCloud::Common::AbstractModel
8922
- # @param CnName: 中文姓名。
8923
- # @type CnName: String
8924
- # @param EnName: 英文名。
8925
- # @type EnName: String
8926
- # @param Sex: 性别。
8927
- # @type Sex: String
8928
- # @param DateOfBirth: 出生日期。规范格式为 XXXX年XX月XX日。
8929
- # @type DateOfBirth: String
8930
- # @param Nationality: 国籍。
8931
- # @type Nationality: String
8932
- # @param PeriodOfValidity: 有效期限。
8933
- # @type PeriodOfValidity: String
8934
- # @param No: 证件号码。
8935
- # @type No: String
8936
- # @param PreviousNumber: 曾持证件号码。
8937
- # @type PreviousNumber: String
8938
- # @param IssuedAuthority: 签发机关。
8939
- # @type IssuedAuthority: String
8940
- # @param PortraitImageInfo: 头像和坐标信息。
8941
- # @type PortraitImageInfo: :class:`Tencentcloud::Ocr.v20181119.models.PortraitImageInfo`
8942
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8943
- # @type RequestId: String
8944
-
8945
- attr_accessor :CnName, :EnName, :Sex, :DateOfBirth, :Nationality, :PeriodOfValidity, :No, :PreviousNumber, :IssuedAuthority, :PortraitImageInfo, :RequestId
8946
-
8947
- def initialize(cnname=nil, enname=nil, sex=nil, dateofbirth=nil, nationality=nil, periodofvalidity=nil, no=nil, previousnumber=nil, issuedauthority=nil, portraitimageinfo=nil, requestid=nil)
8948
- @CnName = cnname
8949
- @EnName = enname
8950
- @Sex = sex
8951
- @DateOfBirth = dateofbirth
8952
- @Nationality = nationality
8953
- @PeriodOfValidity = periodofvalidity
8954
- @No = no
8955
- @PreviousNumber = previousnumber
8956
- @IssuedAuthority = issuedauthority
8957
- @PortraitImageInfo = portraitimageinfo
8958
- @RequestId = requestid
8959
- end
8960
-
8961
- def deserialize(params)
8962
- @CnName = params['CnName']
8963
- @EnName = params['EnName']
8964
- @Sex = params['Sex']
8965
- @DateOfBirth = params['DateOfBirth']
8966
- @Nationality = params['Nationality']
8967
- @PeriodOfValidity = params['PeriodOfValidity']
8968
- @No = params['No']
8969
- @PreviousNumber = params['PreviousNumber']
8970
- @IssuedAuthority = params['IssuedAuthority']
8971
- unless params['PortraitImageInfo'].nil?
8972
- @PortraitImageInfo = PortraitImageInfo.new
8973
- @PortraitImageInfo.deserialize(params['PortraitImageInfo'])
8974
- end
8975
- @RequestId = params['RequestId']
8976
- end
8977
- end
8978
-
8979
8679
  # RecognizeFormulaOCR请求参数结构体
8980
8680
  class RecognizeFormulaOCRRequest < TencentCloud::Common::AbstractModel
8981
8681
  # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
@@ -9290,91 +8990,6 @@ module TencentCloud
9290
8990
  end
9291
8991
  end
9292
8992
 
9293
- # RecognizeGeneralTextImageWarn请求参数结构体
9294
- class RecognizeGeneralTextImageWarnRequest < TencentCloud::Common::AbstractModel
9295
- # @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9296
- # @type ImageUrl: String
9297
- # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9298
- # @type ImageBase64: String
9299
- # @param EnablePdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。 示例值:false
9300
- # @type EnablePdf: Boolean
9301
- # @param PdfPageNumber: 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。 示例值:1
9302
- # @type PdfPageNumber: Integer
9303
- # @param Type: 支持的模板类型
9304
- # - General 通用告警(支持所有类型告警)
9305
- # - LicensePlate 车牌告警(支持翻拍告警)
9306
- # @type Type: String
9307
-
9308
- attr_accessor :ImageUrl, :ImageBase64, :EnablePdf, :PdfPageNumber, :Type
9309
-
9310
- def initialize(imageurl=nil, imagebase64=nil, enablepdf=nil, pdfpagenumber=nil, type=nil)
9311
- @ImageUrl = imageurl
9312
- @ImageBase64 = imagebase64
9313
- @EnablePdf = enablepdf
9314
- @PdfPageNumber = pdfpagenumber
9315
- @Type = type
9316
- end
9317
-
9318
- def deserialize(params)
9319
- @ImageUrl = params['ImageUrl']
9320
- @ImageBase64 = params['ImageBase64']
9321
- @EnablePdf = params['EnablePdf']
9322
- @PdfPageNumber = params['PdfPageNumber']
9323
- @Type = params['Type']
9324
- end
9325
- end
9326
-
9327
- # RecognizeGeneralTextImageWarn返回参数结构体
9328
- class RecognizeGeneralTextImageWarnResponse < TencentCloud::Common::AbstractModel
9329
- # @param Copy: 复印告警信息
9330
- # @type Copy: :class:`Tencentcloud::Ocr.v20181119.models.GeneralWarnInfo`
9331
- # @param Reprint: 翻拍告警信息
9332
- # @type Reprint: :class:`Tencentcloud::Ocr.v20181119.models.GeneralWarnInfo`
9333
- # @param Blur: 模糊告警信息
9334
- # @type Blur: :class:`Tencentcloud::Ocr.v20181119.models.GeneralWarnInfo`
9335
- # @param Reflection: 反光告警信息
9336
- # @type Reflection: :class:`Tencentcloud::Ocr.v20181119.models.GeneralWarnInfo`
9337
- # @param BorderIncomplete: 边框不完整告警信息
9338
- # @type BorderIncomplete: :class:`Tencentcloud::Ocr.v20181119.models.GeneralWarnInfo`
9339
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9340
- # @type RequestId: String
9341
-
9342
- attr_accessor :Copy, :Reprint, :Blur, :Reflection, :BorderIncomplete, :RequestId
9343
-
9344
- def initialize(copy=nil, reprint=nil, blur=nil, reflection=nil, borderincomplete=nil, requestid=nil)
9345
- @Copy = copy
9346
- @Reprint = reprint
9347
- @Blur = blur
9348
- @Reflection = reflection
9349
- @BorderIncomplete = borderincomplete
9350
- @RequestId = requestid
9351
- end
9352
-
9353
- def deserialize(params)
9354
- unless params['Copy'].nil?
9355
- @Copy = GeneralWarnInfo.new
9356
- @Copy.deserialize(params['Copy'])
9357
- end
9358
- unless params['Reprint'].nil?
9359
- @Reprint = GeneralWarnInfo.new
9360
- @Reprint.deserialize(params['Reprint'])
9361
- end
9362
- unless params['Blur'].nil?
9363
- @Blur = GeneralWarnInfo.new
9364
- @Blur.deserialize(params['Blur'])
9365
- end
9366
- unless params['Reflection'].nil?
9367
- @Reflection = GeneralWarnInfo.new
9368
- @Reflection.deserialize(params['Reflection'])
9369
- end
9370
- unless params['BorderIncomplete'].nil?
9371
- @BorderIncomplete = GeneralWarnInfo.new
9372
- @BorderIncomplete.deserialize(params['BorderIncomplete'])
9373
- end
9374
- @RequestId = params['RequestId']
9375
- end
9376
- end
9377
-
9378
8993
  # RecognizeHealthCodeOCR请求参数结构体
9379
8994
  class RecognizeHealthCodeOCRRequest < TencentCloud::Common::AbstractModel
9380
8995
  # @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
@@ -9912,8 +9527,8 @@ module TencentCloud
9912
9527
 
9913
9528
  attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
9914
9529
  extend Gem::Deprecate
9915
- deprecate :AdvancedInfo, :none, 2025, 10
9916
- deprecate :AdvancedInfo=, :none, 2025, 10
9530
+ deprecate :AdvancedInfo, :none, 2025, 11
9531
+ deprecate :AdvancedInfo=, :none, 2025, 11
9917
9532
 
9918
9533
  def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, requestid=nil)
9919
9534
  @ID = id
@@ -11504,8 +11119,8 @@ module TencentCloud
11504
11119
 
11505
11120
  attr_accessor :ImageBase64, :ImageUrl, :PdfPageNumber, :ItemNames, :EnableCoord, :FileStartPageNumber, :FileEndPageNumber
11506
11121
  extend Gem::Deprecate
11507
- deprecate :PdfPageNumber, :none, 2025, 10
11508
- deprecate :PdfPageNumber=, :none, 2025, 10
11122
+ deprecate :PdfPageNumber, :none, 2025, 11
11123
+ deprecate :PdfPageNumber=, :none, 2025, 11
11509
11124
 
11510
11125
  def initialize(imagebase64=nil, imageurl=nil, pdfpagenumber=nil, itemnames=nil, enablecoord=nil, filestartpagenumber=nil, fileendpagenumber=nil)
11511
11126
  @ImageBase64 = imagebase64
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.1159
4
+ version: 3.0.1161
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-10-22 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20181119/models.rb
37
36
  - lib/v20181119/client.rb
37
+ - lib/v20181119/models.rb
38
38
  - lib/tencentcloud-sdk-ocr.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby