tencentcloud-sdk-ocr 3.0.1206 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +7 -4
- data/lib/v20181119/models.rb +97 -35
- 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: 286009531d450342900d6a0ed84c3d6135cc6382
|
|
4
|
+
data.tar.gz: b2232d920daf34101a6df011294998ae1f8f374d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 275b9efa02c39610d0ec0d1fbdc592fee47f03da2158b90afcd0a08d55f121fa1b46412dfba0fb3e08c965440c4dac022a52b570563cef90354694d24d5aedee
|
|
7
|
+
data.tar.gz: cae7f0870e5cd63c238c916a13967e083e15b7c76ea92179ea2f3656c46efe821130e58d6ee50695b5b9c4d80c51e8a98dd6b67bb6c32f547fbef4f0c9b5313f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1214
|
data/lib/v20181119/client.rb
CHANGED
|
@@ -1137,7 +1137,10 @@ module TencentCloud
|
|
|
1137
1137
|
# <td rowspan="9">告警功能</td>
|
|
1138
1138
|
# </tr>
|
|
1139
1139
|
# <tr>
|
|
1140
|
-
#
|
|
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
|
|
1657
|
+
# <td>身份证有效日期不合法
|
|
1655
1658
|
|
|
1656
1659
|
# </td>
|
|
1657
1660
|
# </tr>
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -1034,7 +1034,7 @@ module TencentCloud
|
|
|
1034
1034
|
# 名片识别结果
|
|
1035
1035
|
class BusinessCardInfo < TencentCloud::Common::AbstractModel
|
|
1036
1036
|
# @param Name: 识别出的字段名称(关键字,可能重复,比如多个手机),能识别的字段名为:
|
|
1037
|
-
#
|
|
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,
|
|
4134
|
-
deprecate :Angel=, :none, 2026,
|
|
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,
|
|
4241
|
-
deprecate :Angel=, :none, 2026,
|
|
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,
|
|
4338
|
-
deprecate :Angel=, :none, 2026,
|
|
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,
|
|
4485
|
-
deprecate :Angel=, :none, 2026,
|
|
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,
|
|
4687
|
-
deprecate :DetectFake=, :none, 2026,
|
|
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,
|
|
4753
|
-
deprecate :FakeDetectResult=, :none, 2026,
|
|
4754
|
-
deprecate :WarningCode, :none, 2026,
|
|
4755
|
-
deprecate :WarningCode=, :none, 2026,
|
|
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
|
|
@@ -5182,7 +5182,20 @@ module TencentCloud
|
|
|
5182
5182
|
# BACK:身份证有国徽的一面(国徽面),
|
|
5183
5183
|
# 该参数如果不填,将为您自动判断身份证正反面。
|
|
5184
5184
|
# @type CardSide: String
|
|
5185
|
-
# @param Config: 以下可选字段均为bool 类型,默认false:
|
|
5185
|
+
# @param Config: 以下可选字段均为bool 类型,默认false:
|
|
5186
|
+
# CropIdCard,身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)
|
|
5187
|
+
# CropPortrait,人像照片裁剪(自动抠取身份证头像区域)
|
|
5188
|
+
# CopyWarn,复印件告警
|
|
5189
|
+
# BorderCheckWarn,边框不完整和框内遮挡告警
|
|
5190
|
+
# ReshootWarn,屏幕翻拍告警
|
|
5191
|
+
# DetectPsWarn,疑似存在PS痕迹告警(CardWarnType参数为 Advanced时同时开启电子身份证告警)
|
|
5192
|
+
# TempIdWarn,临时身份证告警
|
|
5193
|
+
# InvalidDateWarn,身份证有效日期不合法告警
|
|
5194
|
+
# Quality,图片质量分数(评价图片的模糊程度)
|
|
5195
|
+
# MultiCardDetect,是否开启正反面同框识别(仅支持二代身份证正反页同框识别或临时身份证正反页同框识别)
|
|
5196
|
+
# ReflectWarn,是否开启反光检测
|
|
5197
|
+
# SDK 设置方式参考:Config = Json.stringify({"CropIdCard":true,"CropPortrait":true})
|
|
5198
|
+
# API 3.0 Explorer 设置方式参考:Config = {"CropIdCard":true,"CropPortrait":true}
|
|
5186
5199
|
# @type Config: String
|
|
5187
5200
|
# @param EnableRecognitionRectify: 默认值为true,打开识别结果纠正开关。开关开启后,身份证号、出生日期、性别,三个字段会进行矫正补齐,统一结果输出;若关闭此开关,以上三个字段不会进行矫正补齐,保持原始识别结果输出,若原图出现篡改情况,这三个字段的识别结果可能会不统一。
|
|
5188
5201
|
# @type EnableRecognitionRectify: Boolean
|
|
@@ -5197,8 +5210,8 @@ module TencentCloud
|
|
|
5197
5210
|
|
|
5198
5211
|
attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify, :CardWarnType
|
|
5199
5212
|
extend Gem::Deprecate
|
|
5200
|
-
deprecate :EnableDateVerify, :none, 2026,
|
|
5201
|
-
deprecate :EnableDateVerify=, :none, 2026,
|
|
5213
|
+
deprecate :EnableDateVerify, :none, 2026, 2
|
|
5214
|
+
deprecate :EnableDateVerify=, :none, 2026, 2
|
|
5202
5215
|
|
|
5203
5216
|
def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil, cardwarntype=nil)
|
|
5204
5217
|
@ImageBase64 = imagebase64
|
|
@@ -5241,7 +5254,22 @@ module TencentCloud
|
|
|
5241
5254
|
# @type Authority: String
|
|
5242
5255
|
# @param ValidDate: 证件有效期(国徽面)
|
|
5243
5256
|
# @type ValidDate: String
|
|
5244
|
-
# @param AdvancedInfo: 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
|
|
5257
|
+
# @param AdvancedInfo: 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
|
|
5258
|
+
# IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
|
|
5259
|
+
# Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
|
5260
|
+
# Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
|
|
5261
|
+
# BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
5262
|
+
# WarnInfos,告警信息,Code 告警码列表和释义:
|
|
5263
|
+
# -9100 身份证有效日期不合法告警,
|
|
5264
|
+
# -9101 身份证边框不完整告警,
|
|
5265
|
+
# -9102 身份证复印件告警(黑白及彩色复印件),
|
|
5266
|
+
# -9108 身份证复印件告警(仅黑白复印件),
|
|
5267
|
+
# -9103 身份证翻拍告警,
|
|
5268
|
+
# -9105 身份证框内遮挡告警,
|
|
5269
|
+
# -9104 临时身份证告警,
|
|
5270
|
+
# -9106 身份证疑似存在PS痕迹告警,
|
|
5271
|
+
# -9107 身份证反光告警,
|
|
5272
|
+
# -9110 电子身份证告警
|
|
5245
5273
|
# @type AdvancedInfo: String
|
|
5246
5274
|
# @param ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
|
5247
5275
|
# @type ReflectDetailInfos: Array
|
|
@@ -6108,10 +6136,10 @@ module TencentCloud
|
|
|
6108
6136
|
|
|
6109
6137
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
|
|
6110
6138
|
extend Gem::Deprecate
|
|
6111
|
-
deprecate :Warn, :none, 2026,
|
|
6112
|
-
deprecate :Warn=, :none, 2026,
|
|
6113
|
-
deprecate :AdvancedInfo, :none, 2026,
|
|
6114
|
-
deprecate :AdvancedInfo=, :none, 2026,
|
|
6139
|
+
deprecate :Warn, :none, 2026, 2
|
|
6140
|
+
deprecate :Warn=, :none, 2026, 2
|
|
6141
|
+
deprecate :AdvancedInfo, :none, 2026, 2
|
|
6142
|
+
deprecate :AdvancedInfo=, :none, 2026, 2
|
|
6115
6143
|
|
|
6116
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)
|
|
6117
6145
|
@ID = id
|
|
@@ -6213,10 +6241,10 @@ module TencentCloud
|
|
|
6213
6241
|
|
|
6214
6242
|
attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
|
|
6215
6243
|
extend Gem::Deprecate
|
|
6216
|
-
deprecate :Warn, :none, 2026,
|
|
6217
|
-
deprecate :Warn=, :none, 2026,
|
|
6218
|
-
deprecate :AdvancedInfo, :none, 2026,
|
|
6219
|
-
deprecate :AdvancedInfo=, :none, 2026,
|
|
6244
|
+
deprecate :Warn, :none, 2026, 2
|
|
6245
|
+
deprecate :Warn=, :none, 2026, 2
|
|
6246
|
+
deprecate :AdvancedInfo, :none, 2026, 2
|
|
6247
|
+
deprecate :AdvancedInfo=, :none, 2026, 2
|
|
6220
6248
|
|
|
6221
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)
|
|
6222
6250
|
@ID = id
|
|
@@ -8231,7 +8259,10 @@ module TencentCloud
|
|
|
8231
8259
|
# @type PdfPageNumber: Integer
|
|
8232
8260
|
# @param EnableImageCrop: 是否开启切边增强和弯曲矫正,默认为false不开启
|
|
8233
8261
|
# @type EnableImageCrop: Boolean
|
|
8234
|
-
# @param UseNewModel: false:
|
|
8262
|
+
# @param UseNewModel: false: 使用当前默认模型返回结构化信息更全面,但检测精度一般
|
|
8263
|
+
# true: 使用多模态推理模型,速度更快精度更高,但只返回题目最外层边框
|
|
8264
|
+
|
|
8265
|
+
# API默认false, demo默认使用的是true
|
|
8235
8266
|
# @type UseNewModel: Boolean
|
|
8236
8267
|
|
|
8237
8268
|
attr_accessor :ImageUrl, :ImageBase64, :IsPdf, :PdfPageNumber, :EnableImageCrop, :UseNewModel
|
|
@@ -8296,7 +8327,10 @@ module TencentCloud
|
|
|
8296
8327
|
# @type EnableImageCrop: Boolean
|
|
8297
8328
|
# @param EnableOnlyDetectBorder: 是否只返回检测框,默认false
|
|
8298
8329
|
# @type EnableOnlyDetectBorder: Boolean
|
|
8299
|
-
# @param UseNewModel: false: 使用当前默认模型
|
|
8330
|
+
# @param UseNewModel: false: 使用当前默认模型(结构化信息更全面,但手写答案坐标精度一般)
|
|
8331
|
+
# true: 使用多模态推理模型,推理效果更强(题目框选、手写答案坐标定位能力更优,但不返回题目选项和题目类型信息)
|
|
8332
|
+
|
|
8333
|
+
# API默认false, demo默认使用的是true
|
|
8300
8334
|
# @type UseNewModel: Boolean
|
|
8301
8335
|
|
|
8302
8336
|
attr_accessor :ImageUrl, :ImageBase64, :IsPdf, :PdfPageNumber, :EnableImageCrop, :EnableOnlyDetectBorder, :UseNewModel
|
|
@@ -8688,7 +8722,20 @@ module TencentCloud
|
|
|
8688
8722
|
# BACK:身份证有国徽的一面(国徽面),
|
|
8689
8723
|
# 该参数如果不填,将为您自动判断身份证正反面。
|
|
8690
8724
|
# @type CardSide: String
|
|
8691
|
-
# @param Config: 以下可选字段均为bool 类型,默认false:
|
|
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}
|
|
8692
8739
|
# @type Config: String
|
|
8693
8740
|
# @param EnableRecognitionRectify: 默认值为true,打开识别结果纠正开关。开关开启后,身份证号、出生日期、性别,三个字段会进行矫正补齐,统一结果输出;若关闭此开关,以上三个字段不会进行矫正补齐,保持原始识别结果输出,若原图出现篡改情况,这三个字段的识别结果可能会不统一。
|
|
8694
8741
|
# @type EnableRecognitionRectify: Boolean
|
|
@@ -8747,7 +8794,22 @@ module TencentCloud
|
|
|
8747
8794
|
# @type Authority: String
|
|
8748
8795
|
# @param ValidDate: 证件有效期(国徽面)
|
|
8749
8796
|
# @type ValidDate: String
|
|
8750
|
-
# @param AdvancedInfo: 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
|
|
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 电子身份证告警
|
|
8751
8813
|
# @type AdvancedInfo: String
|
|
8752
8814
|
# @param ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
|
8753
8815
|
# @type ReflectDetailInfos: Array
|
|
@@ -9661,8 +9723,8 @@ module TencentCloud
|
|
|
9661
9723
|
|
|
9662
9724
|
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
|
|
9663
9725
|
extend Gem::Deprecate
|
|
9664
|
-
deprecate :AdvancedInfo, :none, 2026,
|
|
9665
|
-
deprecate :AdvancedInfo=, :none, 2026,
|
|
9726
|
+
deprecate :AdvancedInfo, :none, 2026, 2
|
|
9727
|
+
deprecate :AdvancedInfo=, :none, 2026, 2
|
|
9666
9728
|
|
|
9667
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)
|
|
9668
9730
|
@ID = id
|
|
@@ -11261,8 +11323,8 @@ module TencentCloud
|
|
|
11261
11323
|
|
|
11262
11324
|
attr_accessor :ImageBase64, :ImageUrl, :PdfPageNumber, :ItemNames, :EnableCoord, :FileStartPageNumber, :FileEndPageNumber
|
|
11263
11325
|
extend Gem::Deprecate
|
|
11264
|
-
deprecate :PdfPageNumber, :none, 2026,
|
|
11265
|
-
deprecate :PdfPageNumber=, :none, 2026,
|
|
11326
|
+
deprecate :PdfPageNumber, :none, 2026, 2
|
|
11327
|
+
deprecate :PdfPageNumber=, :none, 2026, 2
|
|
11266
11328
|
|
|
11267
11329
|
def initialize(imagebase64=nil, imageurl=nil, pdfpagenumber=nil, itemnames=nil, enablecoord=nil, filestartpagenumber=nil, fileendpagenumber=nil)
|
|
11268
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.
|
|
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-
|
|
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
|