tencentcloud-sdk-ocr 3.0.1205 → 3.0.1214

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: d08534a46a0b47441619981b75bee27b06d7ad99
4
- data.tar.gz: 3788ca2a59e6015930b3cde3511ab2385e0f2c52
3
+ metadata.gz: 286009531d450342900d6a0ed84c3d6135cc6382
4
+ data.tar.gz: b2232d920daf34101a6df011294998ae1f8f374d
5
5
  SHA512:
6
- metadata.gz: 25b812c25c3df1f4ae3ff184ee04e555b5a8b0c6878dae55ddbfbc8b1d1a439afd72de73c8cae44225ffdd11ff48281c81134119942188acc33a1117c4fab1c2
7
- data.tar.gz: 0db9ca093c4e1d461712eae5f61ff78457cd42aff2b5528d4a356a10242934456d1426d562e02ef81dfe3e045eb5ddbdd0c9b7afcd863f6b3f2ea1d8ff412ed5
6
+ metadata.gz: 275b9efa02c39610d0ec0d1fbdc592fee47f03da2158b90afcd0a08d55f121fa1b46412dfba0fb3e08c965440c4dac022a52b570563cef90354694d24d5aedee
7
+ data.tar.gz: cae7f0870e5cd63c238c916a13967e083e15b7c76ea92179ea2f3656c46efe821130e58d6ee50695b5b9c4d80c51e8a98dd6b67bb6c32f547fbef4f0c9b5313f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1205
1
+ 3.0.1214
@@ -1137,7 +1137,10 @@ module TencentCloud
1137
1137
  # <td rowspan="9">告警功能</td>
1138
1138
  # </tr>
1139
1139
  # <tr>
1140
- # <td>身份证边框不完整告警</td>
1140
+ # <td>身份证有效日期不合法告警</td>
1141
+ # </tr>
1142
+ # <tr>
1143
+ # <td>身份证边框不完整告警</td>
1141
1144
  # </tr>
1142
1145
  # <tr>
1143
1146
  # <td>身份证复印件告警</td>
@@ -1524,7 +1527,7 @@ module TencentCloud
1524
1527
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1525
1528
  end
1526
1529
 
1527
- # 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框和题目元素的坐标位置。
1530
+ # 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框的坐标位置。新客户请注意UseNewMode的选择。
1528
1531
 
1529
1532
  # 默认接口请求频率限制:2次/秒。
1530
1533
 
@@ -1550,7 +1553,7 @@ module TencentCloud
1550
1553
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1551
1554
  end
1552
1555
 
1553
- # 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。
1556
+ # 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。新接入客户请注意UseNewModel选择
1554
1557
 
1555
1558
  # 默认接口请求频率限制:2次/秒。
1556
1559
 
@@ -1651,7 +1654,7 @@ module TencentCloud
1651
1654
  # </tr>
1652
1655
  # <tr>
1653
1656
  # <td rowspan="9">告警功能</td>
1654
- # <td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
1657
+ # <td>身份证有效日期不合法
1655
1658
 
1656
1659
  # </td>
1657
1660
  # </tr>
@@ -1034,7 +1034,7 @@ module TencentCloud
1034
1034
  # 名片识别结果
1035
1035
  class BusinessCardInfo < TencentCloud::Common::AbstractModel
1036
1036
  # @param Name: 识别出的字段名称(关键字,可能重复,比如多个手机),能识别的字段名为:
1037
- # 姓名、英文姓名、英文地址、公司、英文公司、职位、英文职位、部门、英文部门、手机、电话、传真、社交帐号、QQ、MSN、微信、微博、邮箱、邮编、网址、公司账号、其他。
1037
+ # 姓名、英文姓名、英文地址、公司、英文公司、职位、英文职位、部门、英文部门、手机、电话、传真、社交账号、QQ、MSN、微信、微博、邮箱、邮编、网址、公司账号、其他。
1038
1038
  # @type Name: String
1039
1039
  # @param Value: 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
1040
1040
  # @type Value: String
@@ -4130,8 +4130,8 @@ module TencentCloud
4130
4130
 
4131
4131
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4132
4132
  extend Gem::Deprecate
4133
- deprecate :Angel, :none, 2026, 1
4134
- deprecate :Angel=, :none, 2026, 1
4133
+ deprecate :Angel, :none, 2026, 2
4134
+ deprecate :Angel=, :none, 2026, 2
4135
4135
 
4136
4136
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4137
4137
  @TextDetections = textdetections
@@ -4237,8 +4237,8 @@ module TencentCloud
4237
4237
 
4238
4238
  attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
4239
4239
  extend Gem::Deprecate
4240
- deprecate :Angel, :none, 2026, 1
4241
- deprecate :Angel=, :none, 2026, 1
4240
+ deprecate :Angel, :none, 2026, 2
4241
+ deprecate :Angel=, :none, 2026, 2
4242
4242
 
4243
4243
  def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
4244
4244
  @TextDetections = textdetections
@@ -4334,8 +4334,8 @@ module TencentCloud
4334
4334
 
4335
4335
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4336
4336
  extend Gem::Deprecate
4337
- deprecate :Angel, :none, 2026, 1
4338
- deprecate :Angel=, :none, 2026, 1
4337
+ deprecate :Angel, :none, 2026, 2
4338
+ deprecate :Angel=, :none, 2026, 2
4339
4339
 
4340
4340
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4341
4341
  @TextDetections = textdetections
@@ -4481,8 +4481,8 @@ module TencentCloud
4481
4481
 
4482
4482
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4483
4483
  extend Gem::Deprecate
4484
- deprecate :Angel, :none, 2026, 1
4485
- deprecate :Angel=, :none, 2026, 1
4484
+ deprecate :Angel, :none, 2026, 2
4485
+ deprecate :Angel=, :none, 2026, 2
4486
4486
 
4487
4487
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4488
4488
  @TextDetections = textdetections
@@ -4683,8 +4683,8 @@ module TencentCloud
4683
4683
 
4684
4684
  attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
4685
4685
  extend Gem::Deprecate
4686
- deprecate :DetectFake, :none, 2026, 1
4687
- deprecate :DetectFake=, :none, 2026, 1
4686
+ deprecate :DetectFake, :none, 2026, 2
4687
+ deprecate :DetectFake=, :none, 2026, 2
4688
4688
 
4689
4689
  def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
4690
4690
  @ReturnHeadImage = returnheadimage
@@ -4749,10 +4749,10 @@ module TencentCloud
4749
4749
 
4750
4750
  attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :SmallHeadImage, :WarningCode, :WarnCardInfos, :WindowEmbeddedText, :RequestId
4751
4751
  extend Gem::Deprecate
4752
- deprecate :FakeDetectResult, :none, 2026, 1
4753
- deprecate :FakeDetectResult=, :none, 2026, 1
4754
- deprecate :WarningCode, :none, 2026, 1
4755
- deprecate :WarningCode=, :none, 2026, 1
4752
+ deprecate :FakeDetectResult, :none, 2026, 2
4753
+ deprecate :FakeDetectResult=, :none, 2026, 2
4754
+ deprecate :WarningCode, :none, 2026, 2
4755
+ deprecate :WarningCode=, :none, 2026, 2
4756
4756
 
4757
4757
  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)
4758
4758
  @CnName = cnname
@@ -5186,19 +5186,16 @@ module TencentCloud
5186
5186
  # CropIdCard,身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)
5187
5187
  # CropPortrait,人像照片裁剪(自动抠取身份证头像区域)
5188
5188
  # CopyWarn,复印件告警
5189
- # BorderCheckWarn,边框和框内遮挡告警
5190
- # ReshootWarn,翻拍告警
5191
- # DetectPsWarn,疑似存在PS痕迹告警
5189
+ # BorderCheckWarn,边框不完整和框内遮挡告警
5190
+ # ReshootWarn,屏幕翻拍告警
5191
+ # DetectPsWarn,疑似存在PS痕迹告警(CardWarnType参数为 Advanced时同时开启电子身份证告警)
5192
5192
  # TempIdWarn,临时身份证告警
5193
5193
  # InvalidDateWarn,身份证有效日期不合法告警
5194
5194
  # Quality,图片质量分数(评价图片的模糊程度)
5195
5195
  # MultiCardDetect,是否开启正反面同框识别(仅支持二代身份证正反页同框识别或临时身份证正反页同框识别)
5196
5196
  # ReflectWarn,是否开启反光检测
5197
-
5198
- # SDK 设置方式参考:
5199
- # Config = Json.stringify({"CropIdCard":true,"CropPortrait":true})
5200
- # API 3.0 Explorer 设置方式参考:
5201
- # Config = {"CropIdCard":true,"CropPortrait":true}
5197
+ # SDK 设置方式参考:Config = Json.stringify({"CropIdCard":true,"CropPortrait":true})
5198
+ # API 3.0 Explorer 设置方式参考:Config = {"CropIdCard":true,"CropPortrait":true}
5202
5199
  # @type Config: String
5203
5200
  # @param EnableRecognitionRectify: 默认值为true,打开识别结果纠正开关。开关开启后,身份证号、出生日期、性别,三个字段会进行矫正补齐,统一结果输出;若关闭此开关,以上三个字段不会进行矫正补齐,保持原始识别结果输出,若原图出现篡改情况,这三个字段的识别结果可能会不统一。
5204
5201
  # @type EnableRecognitionRectify: Boolean
@@ -5208,13 +5205,13 @@ module TencentCloud
5208
5205
  # @type EnableReflectDetail: Boolean
5209
5206
  # @param EnableDateVerify: 用于控制是否开启日期校验,默认值为true,打开会进行日期校验。
5210
5207
  # @type EnableDateVerify: Boolean
5211
- # @param CardWarnType: Basic:使用基础卡证告警能力; Advanced:开启通用卡证鉴伪能力(需要在控制台开启“通用卡证鉴伪”后计费功能或购买“通用卡证鉴伪”资源包后才能使用),默认值为 Basic
5208
+ # @param CardWarnType: Basic:使用基础卡证告警能力(含基础PS告警); Advanced:开启进阶PS告警能力,PS告警效果更佳但需要更长耗时;建议测试对比后选用,默认值为 Basic
5212
5209
  # @type CardWarnType: String
5213
5210
 
5214
5211
  attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify, :CardWarnType
5215
5212
  extend Gem::Deprecate
5216
- deprecate :EnableDateVerify, :none, 2026, 1
5217
- deprecate :EnableDateVerify=, :none, 2026, 1
5213
+ deprecate :EnableDateVerify, :none, 2026, 2
5214
+ deprecate :EnableDateVerify=, :none, 2026, 2
5218
5215
 
5219
5216
  def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil, cardwarntype=nil)
5220
5217
  @ImageBase64 = imagebase64
@@ -5260,21 +5257,19 @@ module TencentCloud
5260
5257
  # @param AdvancedInfo: 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
5261
5258
  # IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
5262
5259
  # Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
5263
-
5264
5260
  # Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
5265
5261
  # BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
5266
-
5267
5262
  # WarnInfos,告警信息,Code 告警码列表和释义:
5263
+ # -9100 身份证有效日期不合法告警,
5268
5264
  # -9101 身份证边框不完整告警,
5269
-
5270
5265
  # -9102 身份证复印件告警(黑白及彩色复印件),
5271
5266
  # -9108 身份证复印件告警(仅黑白复印件),
5272
-
5273
5267
  # -9103 身份证翻拍告警,
5274
5268
  # -9105 身份证框内遮挡告警,
5275
5269
  # -9104 临时身份证告警,
5276
5270
  # -9106 身份证疑似存在PS痕迹告警,
5277
- # -9107 身份证反光告警。
5271
+ # -9107 身份证反光告警,
5272
+ # -9110 电子身份证告警
5278
5273
  # @type AdvancedInfo: String
5279
5274
  # @param ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
5280
5275
  # @type ReflectDetailInfos: Array
@@ -6141,10 +6136,10 @@ module TencentCloud
6141
6136
 
6142
6137
  attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
6143
6138
  extend Gem::Deprecate
6144
- deprecate :Warn, :none, 2026, 1
6145
- deprecate :Warn=, :none, 2026, 1
6146
- deprecate :AdvancedInfo, :none, 2026, 1
6147
- deprecate :AdvancedInfo=, :none, 2026, 1
6139
+ deprecate :Warn, :none, 2026, 2
6140
+ deprecate :Warn=, :none, 2026, 2
6141
+ deprecate :AdvancedInfo, :none, 2026, 2
6142
+ deprecate :AdvancedInfo=, :none, 2026, 2
6148
6143
 
6149
6144
  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)
6150
6145
  @ID = id
@@ -6246,10 +6241,10 @@ module TencentCloud
6246
6241
 
6247
6242
  attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
6248
6243
  extend Gem::Deprecate
6249
- deprecate :Warn, :none, 2026, 1
6250
- deprecate :Warn=, :none, 2026, 1
6251
- deprecate :AdvancedInfo, :none, 2026, 1
6252
- deprecate :AdvancedInfo=, :none, 2026, 1
6244
+ deprecate :Warn, :none, 2026, 2
6245
+ deprecate :Warn=, :none, 2026, 2
6246
+ deprecate :AdvancedInfo, :none, 2026, 2
6247
+ deprecate :AdvancedInfo=, :none, 2026, 2
6253
6248
 
6254
6249
  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)
6255
6250
  @ID = id
@@ -8264,7 +8259,10 @@ module TencentCloud
8264
8259
  # @type PdfPageNumber: Integer
8265
8260
  # @param EnableImageCrop: 是否开启切边增强和弯曲矫正,默认为false不开启
8266
8261
  # @type EnableImageCrop: Boolean
8267
- # @param UseNewModel: false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
8262
+ # @param UseNewModel: false: 使用当前默认模型返回结构化信息更全面,但检测精度一般
8263
+ # true: 使用多模态推理模型,速度更快精度更高,但只返回题目最外层边框
8264
+
8265
+ # API默认false, demo默认使用的是true
8268
8266
  # @type UseNewModel: Boolean
8269
8267
 
8270
8268
  attr_accessor :ImageUrl, :ImageBase64, :IsPdf, :PdfPageNumber, :EnableImageCrop, :UseNewModel
@@ -8329,7 +8327,10 @@ module TencentCloud
8329
8327
  # @type EnableImageCrop: Boolean
8330
8328
  # @param EnableOnlyDetectBorder: 是否只返回检测框,默认false
8331
8329
  # @type EnableOnlyDetectBorder: Boolean
8332
- # @param UseNewModel: false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
8330
+ # @param UseNewModel: false: 使用当前默认模型(结构化信息更全面,但手写答案坐标精度一般)
8331
+ # true: 使用多模态推理模型,推理效果更强(题目框选、手写答案坐标定位能力更优,但不返回题目选项和题目类型信息)
8332
+
8333
+ # API默认false, demo默认使用的是true
8333
8334
  # @type UseNewModel: Boolean
8334
8335
 
8335
8336
  attr_accessor :ImageUrl, :ImageBase64, :IsPdf, :PdfPageNumber, :EnableImageCrop, :EnableOnlyDetectBorder, :UseNewModel
@@ -8721,7 +8722,20 @@ module TencentCloud
8721
8722
  # BACK:身份证有国徽的一面(国徽面),
8722
8723
  # 该参数如果不填,将为您自动判断身份证正反面。
8723
8724
  # @type CardSide: String
8724
- # @param Config: 以下可选字段均为bool 类型,默认false:CropIdCard,身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)CropPortrait,人像照片裁剪(自动抠取身份证头像区域)CopyWarn,复印件告警BorderCheckWarn,边框和框内遮挡告警ReshootWarn,DetectPsWarn,疑似存在PS痕迹告警(CardWarnType参数为 Advanced时同时开启电子身份证告警)TempIdWarn,临时身份证告警InvalidDateWarn,身份证有效日期不合法告警Quality,图片质量分数(评价图片的模糊程度)MultiCardDetect,是否开启正反面同框识别(仅支持二代身份证正反页同框识别或临时身份证正反页同框识别)ReflectWarn,是否开启反光检测SDK 设置方式参考:Config = Json.stringify({"CropIdCard":true,"CropPortrait":true})API 3.0 Explorer 设置方式参考:Config = {"CropIdCard":true,"CropPortrait":true}
8725
+ # @param Config: 以下可选字段均为bool 类型,默认false:
8726
+ # CropIdCard,身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)
8727
+ # CropPortrait,人像照片裁剪(自动抠取身份证头像区域)
8728
+ # CopyWarn,复印件告警
8729
+ # BorderCheckWarn,边框不完整和框内遮挡告警
8730
+ # ReshootWarn,屏幕翻拍告警
8731
+ # DetectPsWarn,疑似存在PS痕迹告警(CardWarnType参数为 Advanced时同时开启电子身份证告警)
8732
+ # TempIdWarn,临时身份证告警
8733
+ # InvalidDateWarn,身份证有效日期不合法告警
8734
+ # Quality,图片质量分数(评价图片的模糊程度)
8735
+ # MultiCardDetect,是否开启正反面同框识别(仅支持二代身份证正反页同框识别或临时身份证正反页同框识别)
8736
+ # ReflectWarn,是否开启反光检测
8737
+ # SDK 设置方式参考:Config = Json.stringify({"CropIdCard":true,"CropPortrait":true})
8738
+ # API 3.0 Explorer 设置方式参考:Config = {"CropIdCard":true,"CropPortrait":true}
8725
8739
  # @type Config: String
8726
8740
  # @param EnableRecognitionRectify: 默认值为true,打开识别结果纠正开关。开关开启后,身份证号、出生日期、性别,三个字段会进行矫正补齐,统一结果输出;若关闭此开关,以上三个字段不会进行矫正补齐,保持原始识别结果输出,若原图出现篡改情况,这三个字段的识别结果可能会不统一。
8727
8741
  # @type EnableRecognitionRectify: Boolean
@@ -8780,7 +8794,22 @@ module TencentCloud
8780
8794
  # @type Authority: String
8781
8795
  # @param ValidDate: 证件有效期(国徽面)
8782
8796
  # @type ValidDate: String
8783
- # @param AdvancedInfo: 扩展信息,不请求则不返回,具体输入参考示例3和示例4。IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);WarnInfos,告警信息,Code 告警码列表和释义:-9100 身份证有效日期不合法告警,-9101 身份证边框不完整告警,-9102 身份证复印件告警(黑白及彩色复印件),-9108 身份证复印件告警(仅黑白复印件),-9103 身份证翻拍告警,-9105 身份证框内遮挡告警,-9104 临时身份证告警,-9106 身份证疑似存在PS痕迹告警,-9107 身份证反光告警,-9110 电子身份证告警
8797
+ # @param AdvancedInfo: 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
8798
+ # IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
8799
+ # Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
8800
+ # Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
8801
+ # BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
8802
+ # WarnInfos,告警信息,Code 告警码列表和释义:
8803
+ # -9100 身份证有效日期不合法告警,
8804
+ # -9101 身份证边框不完整告警,
8805
+ # -9102 身份证复印件告警(黑白及彩色复印件),
8806
+ # -9108 身份证复印件告警(仅黑白复印件),
8807
+ # -9103 身份证翻拍告警,
8808
+ # -9105 身份证框内遮挡告警,
8809
+ # -9104 临时身份证告警,
8810
+ # -9106 身份证疑似存在PS痕迹告警,
8811
+ # -9107 身份证反光告警,
8812
+ # -9110 电子身份证告警
8784
8813
  # @type AdvancedInfo: String
8785
8814
  # @param ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
8786
8815
  # @type ReflectDetailInfos: Array
@@ -9694,8 +9723,8 @@ module TencentCloud
9694
9723
 
9695
9724
  attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
9696
9725
  extend Gem::Deprecate
9697
- deprecate :AdvancedInfo, :none, 2026, 1
9698
- deprecate :AdvancedInfo=, :none, 2026, 1
9726
+ deprecate :AdvancedInfo, :none, 2026, 2
9727
+ deprecate :AdvancedInfo=, :none, 2026, 2
9699
9728
 
9700
9729
  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)
9701
9730
  @ID = id
@@ -11294,8 +11323,8 @@ module TencentCloud
11294
11323
 
11295
11324
  attr_accessor :ImageBase64, :ImageUrl, :PdfPageNumber, :ItemNames, :EnableCoord, :FileStartPageNumber, :FileEndPageNumber
11296
11325
  extend Gem::Deprecate
11297
- deprecate :PdfPageNumber, :none, 2026, 1
11298
- deprecate :PdfPageNumber=, :none, 2026, 1
11326
+ deprecate :PdfPageNumber, :none, 2026, 2
11327
+ deprecate :PdfPageNumber=, :none, 2026, 2
11299
11328
 
11300
11329
  def initialize(imagebase64=nil, imageurl=nil, pdfpagenumber=nil, itemnames=nil, enablecoord=nil, filestartpagenumber=nil, fileendpagenumber=nil)
11301
11330
  @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.1205
4
+ version: 3.0.1214
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-21 00:00:00.000000000 Z
11
+ date: 2026-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common