tencentcloud-sdk-ocr 3.0.1087 → 3.0.1092
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 +153 -443
- 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: aa3afb50b6c50d58b078abbe2eb5a6c7b8539b27
|
4
|
+
data.tar.gz: 229335087dc5cb011d6effe16607ab2ffb4606ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c74ec2089fd47a475540c4cf478bbb60740b0e44b41944ecd53a077373b3a1d5f0f3795c69a1c24491da468675cbfb7c9d8584ec816727188a8071ebe80e18d
|
7
|
+
data.tar.gz: 908f4be230e2fd9262dd49334b2ab745b5458a8629b6bcf06f23b281414ba6af41ab7f71645e1108e3224510c775426b50bb3951d50fcec7f510f57a1d342982
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1092
|
data/lib/v20181119/models.rb
CHANGED
@@ -19,13 +19,9 @@ module TencentCloud
|
|
19
19
|
module V20181119
|
20
20
|
# AdvertiseOCR请求参数结构体
|
21
21
|
class AdvertiseOCRRequest < TencentCloud::Common::AbstractModel
|
22
|
-
# @param ImageBase64: 图片的 Base64
|
23
|
-
# 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
|
24
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
22
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
25
23
|
# @type ImageBase64: String
|
26
|
-
# @param ImageUrl: 图片的 Url
|
27
|
-
# 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
|
28
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
29
25
|
# @type ImageUrl: String
|
30
26
|
|
31
27
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -457,11 +453,9 @@ module TencentCloud
|
|
457
453
|
|
458
454
|
# BankCardOCR请求参数结构体
|
459
455
|
class BankCardOCRRequest < TencentCloud::Common::AbstractModel
|
460
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
461
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
456
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
462
457
|
# @type ImageBase64: String
|
463
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
464
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
458
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
465
459
|
# @type ImageUrl: String
|
466
460
|
# @param RetBorderCutImage: 是否返回预处理(精确剪裁对齐)后的银行卡图片数据,默认false。
|
467
461
|
# @type RetBorderCutImage: Boolean
|
@@ -961,16 +955,9 @@ module TencentCloud
|
|
961
955
|
|
962
956
|
# BusInvoiceOCR请求参数结构体
|
963
957
|
class BusInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
964
|
-
# @param ImageBase64: 图片的 Base64
|
965
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
966
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
967
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
958
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
968
959
|
# @type ImageBase64: String
|
969
|
-
# @param ImageUrl: 图片的 Url
|
970
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
971
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
972
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
973
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
960
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
974
961
|
# @type ImageUrl: String
|
975
962
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
976
963
|
# @type IsPdf: Boolean
|
@@ -1189,16 +1176,9 @@ module TencentCloud
|
|
1189
1176
|
|
1190
1177
|
# CarInvoiceOCR请求参数结构体
|
1191
1178
|
class CarInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
1192
|
-
# @param ImageBase64: 图片的 Base64
|
1193
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1194
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1195
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1179
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1196
1180
|
# @type ImageBase64: String
|
1197
|
-
# @param ImageUrl: 图片的 Url
|
1198
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1199
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
1200
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
1201
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1181
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1202
1182
|
# @type ImageUrl: String
|
1203
1183
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
1204
1184
|
# @type IsPdf: Boolean
|
@@ -1343,16 +1323,9 @@ module TencentCloud
|
|
1343
1323
|
|
1344
1324
|
# ClassifyDetectOCR请求参数结构体
|
1345
1325
|
class ClassifyDetectOCRRequest < TencentCloud::Common::AbstractModel
|
1346
|
-
# @param ImageBase64: 图片的 Base64
|
1347
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1348
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1349
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1326
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1350
1327
|
# @type ImageBase64: String
|
1351
|
-
# @param ImageUrl: 图片的 Url
|
1352
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1353
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
1354
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
1355
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1328
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1356
1329
|
# @type ImageUrl: String
|
1357
1330
|
# @param DiscernType: 可以指定要识别的票证类型,指定后不出现在此列表的票证将不返回类型。不指定时默认返回所有支持类别票证的识别信息。
|
1358
1331
|
|
@@ -1421,13 +1394,9 @@ module TencentCloud
|
|
1421
1394
|
|
1422
1395
|
# ClassifyStoreName请求参数结构体
|
1423
1396
|
class ClassifyStoreNameRequest < TencentCloud::Common::AbstractModel
|
1424
|
-
# @param ImageBase64: 图片的 Base64
|
1425
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1426
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1427
|
-
# 支持的图片像素:需介于20-10000px之间。
|
1428
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1397
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1429
1398
|
# @type ImageBase64: String
|
1430
|
-
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过
|
1399
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1431
1400
|
# @type ImageUrl: String
|
1432
1401
|
|
1433
1402
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -1576,12 +1545,15 @@ module TencentCloud
|
|
1576
1545
|
# @type Title: String
|
1577
1546
|
# @param Content: 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
|
1578
1547
|
# @type Content: Array
|
1548
|
+
# @param CommonContent: 海关缴款书常用字段
|
1549
|
+
# @type CommonContent: Array
|
1579
1550
|
|
1580
|
-
attr_accessor :Title, :Content
|
1551
|
+
attr_accessor :Title, :Content, :CommonContent
|
1581
1552
|
|
1582
|
-
def initialize(title=nil, content=nil)
|
1553
|
+
def initialize(title=nil, content=nil, commoncontent=nil)
|
1583
1554
|
@Title = title
|
1584
1555
|
@Content = content
|
1556
|
+
@CommonContent = commoncontent
|
1585
1557
|
end
|
1586
1558
|
|
1587
1559
|
def deserialize(params)
|
@@ -1594,6 +1566,14 @@ module TencentCloud
|
|
1594
1566
|
@Content << otherinvoiceitem_tmp
|
1595
1567
|
end
|
1596
1568
|
end
|
1569
|
+
unless params['CommonContent'].nil?
|
1570
|
+
@CommonContent = []
|
1571
|
+
params['CommonContent'].each do |i|
|
1572
|
+
otherinvoiceitem_tmp = OtherInvoiceItem.new
|
1573
|
+
otherinvoiceitem_tmp.deserialize(i)
|
1574
|
+
@CommonContent << otherinvoiceitem_tmp
|
1575
|
+
end
|
1576
|
+
end
|
1597
1577
|
end
|
1598
1578
|
end
|
1599
1579
|
|
@@ -1702,11 +1682,9 @@ module TencentCloud
|
|
1702
1682
|
|
1703
1683
|
# DriverLicenseOCR请求参数结构体
|
1704
1684
|
class DriverLicenseOCRRequest < TencentCloud::Common::AbstractModel
|
1705
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
1706
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1685
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1707
1686
|
# @type ImageBase64: String
|
1708
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
1709
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
1687
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
1710
1688
|
# @type ImageUrl: String
|
1711
1689
|
# @param CardSide: FRONT 为驾驶证主页正面(有红色印章的一面),
|
1712
1690
|
# BACK 为驾驶证副页正面(有档案编号的一面)。
|
@@ -1878,16 +1856,9 @@ module TencentCloud
|
|
1878
1856
|
|
1879
1857
|
# DutyPaidProofOCR请求参数结构体
|
1880
1858
|
class DutyPaidProofOCRRequest < TencentCloud::Common::AbstractModel
|
1881
|
-
# @param ImageBase64: 图片的 Base64
|
1882
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1883
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1884
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1859
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1885
1860
|
# @type ImageBase64: String
|
1886
|
-
# @param ImageUrl: 图片的 Url
|
1887
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1888
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
1889
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
1890
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1861
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1891
1862
|
# @type ImageUrl: String
|
1892
1863
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
1893
1864
|
# @type IsPdf: Boolean
|
@@ -2755,16 +2726,9 @@ module TencentCloud
|
|
2755
2726
|
|
2756
2727
|
# EstateCertOCR请求参数结构体
|
2757
2728
|
class EstateCertOCRRequest < TencentCloud::Common::AbstractModel
|
2758
|
-
# @param ImageBase64: 图片的 Base64
|
2759
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2760
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
|
2761
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2729
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2762
2730
|
# @type ImageBase64: String
|
2763
|
-
# @param ImageUrl: 图片的 Url
|
2764
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2765
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
2766
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
2767
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
2731
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
2768
2732
|
# @type ImageUrl: String
|
2769
2733
|
|
2770
2734
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -2949,9 +2913,9 @@ module TencentCloud
|
|
2949
2913
|
|
2950
2914
|
# ExtractDocMultiPro请求参数结构体
|
2951
2915
|
class ExtractDocMultiProRequest < TencentCloud::Common::AbstractModel
|
2952
|
-
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过
|
2916
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
2953
2917
|
# @type ImageUrl: String
|
2954
|
-
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过
|
2918
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2955
2919
|
# @type ImageBase64: String
|
2956
2920
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
|
2957
2921
|
# @type PdfPageNumber: Integer
|
@@ -3055,9 +3019,9 @@ module TencentCloud
|
|
3055
3019
|
|
3056
3020
|
# ExtractDocMulti请求参数结构体
|
3057
3021
|
class ExtractDocMultiRequest < TencentCloud::Common::AbstractModel
|
3058
|
-
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过
|
3022
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3059
3023
|
# @type ImageUrl: String
|
3060
|
-
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过
|
3024
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3061
3025
|
# @type ImageBase64: String
|
3062
3026
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
|
3063
3027
|
# @type PdfPageNumber: Integer
|
@@ -3198,16 +3162,9 @@ module TencentCloud
|
|
3198
3162
|
|
3199
3163
|
# FinanBillOCR请求参数结构体
|
3200
3164
|
class FinanBillOCRRequest < TencentCloud::Common::AbstractModel
|
3201
|
-
# @param ImageBase64: 图片的 Base64
|
3202
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3203
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
3204
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3165
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3205
3166
|
# @type ImageBase64: String
|
3206
|
-
# @param ImageUrl: 图片的 Url
|
3207
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3208
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
3209
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
3210
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3167
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3211
3168
|
# @type ImageUrl: String
|
3212
3169
|
|
3213
3170
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -3273,16 +3230,9 @@ module TencentCloud
|
|
3273
3230
|
|
3274
3231
|
# FinanBillSliceOCR请求参数结构体
|
3275
3232
|
class FinanBillSliceOCRRequest < TencentCloud::Common::AbstractModel
|
3276
|
-
# @param ImageBase64: 图片的 Base64
|
3277
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3278
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
3279
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3233
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3280
3234
|
# @type ImageBase64: String
|
3281
|
-
# @param ImageUrl: 图片的 Url
|
3282
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3283
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
3284
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
3285
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3235
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3286
3236
|
# @type ImageUrl: String
|
3287
3237
|
|
3288
3238
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -3572,16 +3522,9 @@ module TencentCloud
|
|
3572
3522
|
|
3573
3523
|
# FlightInvoiceOCR请求参数结构体
|
3574
3524
|
class FlightInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
3575
|
-
# @param ImageBase64: 图片的 Base64
|
3576
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3577
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
3578
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3525
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3579
3526
|
# @type ImageBase64: String
|
3580
|
-
# @param ImageUrl: 图片的 Url
|
3581
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3582
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
3583
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
3584
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3527
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3585
3528
|
# @type ImageUrl: String
|
3586
3529
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
3587
3530
|
# @type IsPdf: Boolean
|
@@ -3746,16 +3689,9 @@ module TencentCloud
|
|
3746
3689
|
|
3747
3690
|
# FormulaOCR请求参数结构体
|
3748
3691
|
class FormulaOCRRequest < TencentCloud::Common::AbstractModel
|
3749
|
-
# @param ImageBase64: 图片的 Base64
|
3750
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3751
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
3752
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3692
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3753
3693
|
# @type ImageBase64: String
|
3754
|
-
# @param ImageUrl: 图片的 Url
|
3755
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
3756
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
3757
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
3758
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3694
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3759
3695
|
# @type ImageUrl: String
|
3760
3696
|
|
3761
3697
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -3855,8 +3791,8 @@ module TencentCloud
|
|
3855
3791
|
|
3856
3792
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3857
3793
|
extend Gem::Deprecate
|
3858
|
-
deprecate :Angel, :none, 2025,
|
3859
|
-
deprecate :Angel=, :none, 2025,
|
3794
|
+
deprecate :Angel, :none, 2025, 7
|
3795
|
+
deprecate :Angel=, :none, 2025, 7
|
3860
3796
|
|
3861
3797
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3862
3798
|
@TextDetections = textdetections
|
@@ -3962,8 +3898,8 @@ module TencentCloud
|
|
3962
3898
|
|
3963
3899
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
3964
3900
|
extend Gem::Deprecate
|
3965
|
-
deprecate :Angel, :none, 2025,
|
3966
|
-
deprecate :Angel=, :none, 2025,
|
3901
|
+
deprecate :Angel, :none, 2025, 7
|
3902
|
+
deprecate :Angel=, :none, 2025, 7
|
3967
3903
|
|
3968
3904
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
3969
3905
|
@TextDetections = textdetections
|
@@ -4059,8 +3995,8 @@ module TencentCloud
|
|
4059
3995
|
|
4060
3996
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
4061
3997
|
extend Gem::Deprecate
|
4062
|
-
deprecate :Angel, :none, 2025,
|
4063
|
-
deprecate :Angel=, :none, 2025,
|
3998
|
+
deprecate :Angel, :none, 2025, 7
|
3999
|
+
deprecate :Angel=, :none, 2025, 7
|
4064
4000
|
|
4065
4001
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
4066
4002
|
@TextDetections = textdetections
|
@@ -4213,8 +4149,8 @@ module TencentCloud
|
|
4213
4149
|
|
4214
4150
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
4215
4151
|
extend Gem::Deprecate
|
4216
|
-
deprecate :Angel, :none, 2025,
|
4217
|
-
deprecate :Angel=, :none, 2025,
|
4152
|
+
deprecate :Angel, :none, 2025, 7
|
4153
|
+
deprecate :Angel=, :none, 2025, 7
|
4218
4154
|
|
4219
4155
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
4220
4156
|
@TextDetections = textdetections
|
@@ -4443,8 +4379,8 @@ module TencentCloud
|
|
4443
4379
|
|
4444
4380
|
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
4445
4381
|
extend Gem::Deprecate
|
4446
|
-
deprecate :DetectFake, :none, 2025,
|
4447
|
-
deprecate :DetectFake=, :none, 2025,
|
4382
|
+
deprecate :DetectFake, :none, 2025, 7
|
4383
|
+
deprecate :DetectFake=, :none, 2025, 7
|
4448
4384
|
|
4449
4385
|
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
4450
4386
|
@ReturnHeadImage = returnheadimage
|
@@ -4513,10 +4449,10 @@ module TencentCloud
|
|
4513
4449
|
|
4514
4450
|
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
4515
4451
|
extend Gem::Deprecate
|
4516
|
-
deprecate :FakeDetectResult, :none, 2025,
|
4517
|
-
deprecate :FakeDetectResult=, :none, 2025,
|
4518
|
-
deprecate :WarningCode, :none, 2025,
|
4519
|
-
deprecate :WarningCode=, :none, 2025,
|
4452
|
+
deprecate :FakeDetectResult, :none, 2025, 7
|
4453
|
+
deprecate :FakeDetectResult=, :none, 2025, 7
|
4454
|
+
deprecate :WarningCode, :none, 2025, 7
|
4455
|
+
deprecate :WarningCode=, :none, 2025, 7
|
4520
4456
|
|
4521
4457
|
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)
|
4522
4458
|
@CnName = cnname
|
@@ -4557,9 +4493,9 @@ module TencentCloud
|
|
4557
4493
|
|
4558
4494
|
# HandwritingEssayOCR请求参数结构体
|
4559
4495
|
class HandwritingEssayOCRRequest < TencentCloud::Common::AbstractModel
|
4560
|
-
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过
|
4496
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
4561
4497
|
# @type ImageUrl: String
|
4562
|
-
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过
|
4498
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
4563
4499
|
# @type ImageBase64: String
|
4564
4500
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
|
4565
4501
|
# @type PdfPageNumber: Integer
|
@@ -4940,11 +4876,9 @@ module TencentCloud
|
|
4940
4876
|
|
4941
4877
|
# IDCardOCR请求参数结构体
|
4942
4878
|
class IDCardOCRRequest < TencentCloud::Common::AbstractModel
|
4943
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
4944
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
4879
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
4945
4880
|
# @type ImageBase64: String
|
4946
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
4947
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
4881
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
4948
4882
|
# @type ImageUrl: String
|
4949
4883
|
# @param CardSide: FRONT:身份证有照片的一面(人像面),
|
4950
4884
|
# BACK:身份证有国徽的一面(国徽面),
|
@@ -4976,13 +4910,15 @@ module TencentCloud
|
|
4976
4910
|
# @type EnableReflectDetail: Boolean
|
4977
4911
|
# @param EnableDateVerify: 用于控制是否开启日期校验,默认值为true,打开会进行日期校验。
|
4978
4912
|
# @type EnableDateVerify: Boolean
|
4913
|
+
# @param CardWarnType: Basic:使用基础卡证告警能力; Advanced:开启通用卡证鉴伪能力(需要在控制台开启“通用卡证鉴伪”后计费功能或购买“通用卡证鉴伪”资源包后才能使用),默认值为 Basic
|
4914
|
+
# @type CardWarnType: String
|
4979
4915
|
|
4980
|
-
attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify
|
4916
|
+
attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify, :CardWarnType
|
4981
4917
|
extend Gem::Deprecate
|
4982
|
-
deprecate :EnableDateVerify, :none, 2025,
|
4983
|
-
deprecate :EnableDateVerify=, :none, 2025,
|
4918
|
+
deprecate :EnableDateVerify, :none, 2025, 7
|
4919
|
+
deprecate :EnableDateVerify=, :none, 2025, 7
|
4984
4920
|
|
4985
|
-
def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil)
|
4921
|
+
def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil, cardwarntype=nil)
|
4986
4922
|
@ImageBase64 = imagebase64
|
4987
4923
|
@ImageUrl = imageurl
|
4988
4924
|
@CardSide = cardside
|
@@ -4990,6 +4926,7 @@ module TencentCloud
|
|
4990
4926
|
@EnableRecognitionRectify = enablerecognitionrectify
|
4991
4927
|
@EnableReflectDetail = enablereflectdetail
|
4992
4928
|
@EnableDateVerify = enabledateverify
|
4929
|
+
@CardWarnType = cardwarntype
|
4993
4930
|
end
|
4994
4931
|
|
4995
4932
|
def deserialize(params)
|
@@ -5000,6 +4937,7 @@ module TencentCloud
|
|
5000
4937
|
@EnableRecognitionRectify = params['EnableRecognitionRectify']
|
5001
4938
|
@EnableReflectDetail = params['EnableReflectDetail']
|
5002
4939
|
@EnableDateVerify = params['EnableDateVerify']
|
4940
|
+
@CardWarnType = params['CardWarnType']
|
5003
4941
|
end
|
5004
4942
|
end
|
5005
4943
|
|
@@ -5145,16 +5083,9 @@ module TencentCloud
|
|
5145
5083
|
|
5146
5084
|
# ImageEnhancement请求参数结构体
|
5147
5085
|
class ImageEnhancementRequest < TencentCloud::Common::AbstractModel
|
5148
|
-
# @param ImageBase64: 图片的 Base64
|
5149
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5150
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5151
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5086
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5152
5087
|
# @type ImageBase64: String
|
5153
|
-
# @param ImageUrl: 图片的 Url
|
5154
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5155
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5156
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5157
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5088
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5158
5089
|
# @type ImageUrl: String
|
5159
5090
|
# @param ReturnImage: 默认为空,ReturnImage的取值以及含义如下:
|
5160
5091
|
# “preprocess”: 返回预处理后的图片数据
|
@@ -5243,16 +5174,9 @@ module TencentCloud
|
|
5243
5174
|
|
5244
5175
|
# InstitutionOCR请求参数结构体
|
5245
5176
|
class InstitutionOCRRequest < TencentCloud::Common::AbstractModel
|
5246
|
-
# @param ImageBase64: 图片的 Base64
|
5247
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5248
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5249
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5177
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5250
5178
|
# @type ImageBase64: String
|
5251
|
-
# @param ImageUrl: 图片的 Url
|
5252
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5253
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5254
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5255
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5179
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5256
5180
|
# @type ImageUrl: String
|
5257
5181
|
|
5258
5182
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -5334,16 +5258,9 @@ module TencentCloud
|
|
5334
5258
|
|
5335
5259
|
# InsuranceBillOCR请求参数结构体
|
5336
5260
|
class InsuranceBillOCRRequest < TencentCloud::Common::AbstractModel
|
5337
|
-
# @param ImageBase64: 图片的 Base64
|
5338
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5339
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5340
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5261
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5341
5262
|
# @type ImageBase64: String
|
5342
|
-
# @param ImageUrl: 图片的 Url
|
5343
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5344
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5345
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5346
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5263
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5347
5264
|
# @type ImageUrl: String
|
5348
5265
|
|
5349
5266
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -5464,16 +5381,9 @@ module TencentCloud
|
|
5464
5381
|
|
5465
5382
|
# InvoiceGeneralOCR请求参数结构体
|
5466
5383
|
class InvoiceGeneralOCRRequest < TencentCloud::Common::AbstractModel
|
5467
|
-
# @param ImageBase64: 图片的 Base64
|
5468
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5469
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5470
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5384
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5471
5385
|
# @type ImageBase64: String
|
5472
|
-
# @param ImageUrl: 图片的 Url
|
5473
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5474
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5475
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5476
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5386
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5477
5387
|
# @type ImageUrl: String
|
5478
5388
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
5479
5389
|
# @type IsPdf: Boolean
|
@@ -5794,16 +5704,9 @@ module TencentCloud
|
|
5794
5704
|
|
5795
5705
|
# LicensePlateOCR请求参数结构体
|
5796
5706
|
class LicensePlateOCRRequest < TencentCloud::Common::AbstractModel
|
5797
|
-
# @param ImageBase64: 图片的 Base64
|
5798
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5799
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5800
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5707
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5801
5708
|
# @type ImageBase64: String
|
5802
|
-
# @param ImageUrl: 图片的 Url
|
5803
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5804
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5805
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5806
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5709
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5807
5710
|
# @type ImageUrl: String
|
5808
5711
|
|
5809
5712
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -5979,8 +5882,8 @@ module TencentCloud
|
|
5979
5882
|
|
5980
5883
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
|
5981
5884
|
extend Gem::Deprecate
|
5982
|
-
deprecate :Warn, :none, 2025,
|
5983
|
-
deprecate :Warn=, :none, 2025,
|
5885
|
+
deprecate :Warn, :none, 2025, 7
|
5886
|
+
deprecate :Warn=, :none, 2025, 7
|
5984
5887
|
|
5985
5888
|
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)
|
5986
5889
|
@ID = id
|
@@ -6309,16 +6212,9 @@ module TencentCloud
|
|
6309
6212
|
|
6310
6213
|
# MainlandPermitOCR请求参数结构体
|
6311
6214
|
class MainlandPermitOCRRequest < TencentCloud::Common::AbstractModel
|
6312
|
-
# @param ImageBase64: 图片的 Base64
|
6313
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
6314
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
6315
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
6215
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
6316
6216
|
# @type ImageBase64: String
|
6317
|
-
# @param ImageUrl: 图片的 Url
|
6318
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
6319
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
6320
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
6321
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
6217
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
6322
6218
|
# @type ImageUrl: String
|
6323
6219
|
# @param RetProfile: 是否返回头像。默认不返回。
|
6324
6220
|
# @type RetProfile: Boolean
|
@@ -6560,16 +6456,9 @@ module TencentCloud
|
|
6560
6456
|
class MixedInvoiceDetectRequest < TencentCloud::Common::AbstractModel
|
6561
6457
|
# @param ReturnImage: 是否需要返回裁剪后的图片。
|
6562
6458
|
# @type ReturnImage: Boolean
|
6563
|
-
# @param ImageBase64: 图片的 Base64
|
6564
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
6565
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
6566
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
6459
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
6567
6460
|
# @type ImageBase64: String
|
6568
|
-
# @param ImageUrl: 图片的 Url
|
6569
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
6570
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
6571
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
6572
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
6461
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
6573
6462
|
# @type ImageUrl: String
|
6574
6463
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
6575
6464
|
# @type IsPdf: Boolean
|
@@ -6687,16 +6576,9 @@ module TencentCloud
|
|
6687
6576
|
|
6688
6577
|
# MixedInvoiceOCR请求参数结构体
|
6689
6578
|
class MixedInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
6690
|
-
# @param ImageBase64: 图片的 Base64
|
6691
|
-
# 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
6692
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
6693
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
6579
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
6694
6580
|
# @type ImageBase64: String
|
6695
|
-
# @param ImageUrl: 图片的 Url
|
6696
|
-
# 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
6697
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
6698
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
6699
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
6581
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
6700
6582
|
# @type ImageUrl: String
|
6701
6583
|
# @param Types: 需要识别的票据类型列表,为空或不填表示识别全部类型。
|
6702
6584
|
# 0:出租车发票
|
@@ -7193,16 +7075,9 @@ module TencentCloud
|
|
7193
7075
|
|
7194
7076
|
# OrgCodeCertOCR请求参数结构体
|
7195
7077
|
class OrgCodeCertOCRRequest < TencentCloud::Common::AbstractModel
|
7196
|
-
# @param ImageBase64: 图片的 Base64
|
7197
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7198
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
7199
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7078
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7200
7079
|
# @type ImageBase64: String
|
7201
|
-
# @param ImageUrl: 图片的 Url
|
7202
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7203
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
7204
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7205
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7080
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7206
7081
|
# @type ImageUrl: String
|
7207
7082
|
|
7208
7083
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -7400,11 +7275,9 @@ module TencentCloud
|
|
7400
7275
|
|
7401
7276
|
# PassportOCR请求参数结构体
|
7402
7277
|
class PassportOCRRequest < TencentCloud::Common::AbstractModel
|
7403
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
7404
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7278
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7405
7279
|
# @type ImageBase64: String
|
7406
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
7407
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
7280
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
7408
7281
|
# @type ImageUrl: String
|
7409
7282
|
# @param Type: 默认填写CN
|
7410
7283
|
# 支持中国大陆地区护照。
|
@@ -7844,16 +7717,9 @@ module TencentCloud
|
|
7844
7717
|
|
7845
7718
|
# PropOwnerCertOCR请求参数结构体
|
7846
7719
|
class PropOwnerCertOCRRequest < TencentCloud::Common::AbstractModel
|
7847
|
-
# @param ImageBase64: 图片的 Base64
|
7848
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7849
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
7850
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7720
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7851
7721
|
# @type ImageBase64: String
|
7852
|
-
# @param ImageUrl: 图片的 Url
|
7853
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7854
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
7855
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7856
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7722
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7857
7723
|
# @type ImageUrl: String
|
7858
7724
|
|
7859
7725
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -7931,11 +7797,9 @@ module TencentCloud
|
|
7931
7797
|
|
7932
7798
|
# QrcodeOCR请求参数结构体
|
7933
7799
|
class QrcodeOCRRequest < TencentCloud::Common::AbstractModel
|
7934
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
7935
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7800
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,支持PNG、JPG、JPEG格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7936
7801
|
# @type ImageBase64: String
|
7937
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
7938
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
7802
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,支持PNG、JPG、JPEG格式。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
7939
7803
|
# @type ImageUrl: String
|
7940
7804
|
|
7941
7805
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -8357,16 +8221,9 @@ module TencentCloud
|
|
8357
8221
|
|
8358
8222
|
# QuotaInvoiceOCR请求参数结构体
|
8359
8223
|
class QuotaInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
8360
|
-
# @param ImageBase64: 图片的 Base64
|
8361
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8362
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
|
8363
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8224
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8364
8225
|
# @type ImageBase64: String
|
8365
|
-
# @param ImageUrl: 图片的 Url
|
8366
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8367
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
8368
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
8369
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8226
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8370
8227
|
# @type ImageUrl: String
|
8371
8228
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
8372
8229
|
# @type IsPdf: Boolean
|
@@ -8555,16 +8412,9 @@ module TencentCloud
|
|
8555
8412
|
|
8556
8413
|
# RecognizeContainerOCR请求参数结构体
|
8557
8414
|
class RecognizeContainerOCRRequest < TencentCloud::Common::AbstractModel
|
8558
|
-
# @param ImageBase64: 图片的 Base64
|
8559
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8560
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
8561
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8415
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8562
8416
|
# @type ImageBase64: String
|
8563
|
-
# @param ImageUrl: 图片的 Url
|
8564
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8565
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
8566
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
8567
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8417
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8568
8418
|
# @type ImageUrl: String
|
8569
8419
|
|
8570
8420
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -8648,11 +8498,9 @@ module TencentCloud
|
|
8648
8498
|
# @type EncryptedBody: String
|
8649
8499
|
# @param Encryption: 敏感数据加密信息。对传入信息有加密需求的用户可使用此参数,详情请点击左侧链接。
|
8650
8500
|
# @type Encryption: :class:`Tencentcloud::Ocr.v20181119.models.Encryption`
|
8651
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
8652
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8501
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8653
8502
|
# @type ImageBase64: String
|
8654
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
8655
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
8503
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
8656
8504
|
# @type ImageUrl: String
|
8657
8505
|
# @param CardSide: FRONT:身份证有照片的一面(人像面),
|
8658
8506
|
# BACK:身份证有国徽的一面(国徽面),
|
@@ -8805,19 +8653,9 @@ module TencentCloud
|
|
8805
8653
|
|
8806
8654
|
# RecognizeForeignPermanentResidentIdCard请求参数结构体
|
8807
8655
|
class RecognizeForeignPermanentResidentIdCardRequest < TencentCloud::Common::AbstractModel
|
8808
|
-
# @param ImageUrl: 图片的 Url
|
8809
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8810
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
8811
|
-
# 支持的图片像素:需介于20-10000px之间。
|
8812
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
8813
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8814
|
-
# 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume
|
8656
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume
|
8815
8657
|
# @type ImageUrl: String
|
8816
|
-
# @param ImageBase64: 图片的 Base64
|
8817
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8818
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
8819
|
-
# 支持的图片像素:需介于20-10000px之间。
|
8820
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8658
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8821
8659
|
# @type ImageBase64: String
|
8822
8660
|
# @param EnablePdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
8823
8661
|
# @type EnablePdf: Boolean
|
@@ -8981,6 +8819,7 @@ module TencentCloud
|
|
8981
8819
|
# HmtResidentPermit:港澳台居住证
|
8982
8820
|
# ForeignPermanentResident:外国人永居证
|
8983
8821
|
# MainlandPermit:港澳台来往内地通行证
|
8822
|
+
# SocialSecurityCard:社保卡
|
8984
8823
|
# @type CardType: String
|
8985
8824
|
# @param IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
8986
8825
|
# @type IsPdf: Boolean
|
@@ -9019,6 +8858,7 @@ module TencentCloud
|
|
9019
8858
|
# HmtResidentPermit:港澳台居住证
|
9020
8859
|
# ForeignPermanentResident:外国人永居证
|
9021
8860
|
# MainlandPermit:港澳台来往内地通行证
|
8861
|
+
# SocialSecurityCard:社保卡
|
9022
8862
|
# @type CardType: String
|
9023
8863
|
# @param Blur: 模糊信息
|
9024
8864
|
# @type Blur: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
@@ -9219,18 +9059,9 @@ module TencentCloud
|
|
9219
9059
|
|
9220
9060
|
# RecognizeGeneralTextImageWarn请求参数结构体
|
9221
9061
|
class RecognizeGeneralTextImageWarnRequest < TencentCloud::Common::AbstractModel
|
9222
|
-
# @param ImageUrl: 图片的 Url
|
9223
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9224
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
9225
|
-
# 支持的图片像素:需介于20-10000px之间。
|
9226
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
9227
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9062
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9228
9063
|
# @type ImageUrl: String
|
9229
|
-
# @param ImageBase64: 图片的 Base64
|
9230
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9231
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。
|
9232
|
-
# 支持的图片像素:需介于20-10000px之间。
|
9233
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9064
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9234
9065
|
# @type ImageBase64: String
|
9235
9066
|
# @param EnablePdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。 示例值:false
|
9236
9067
|
# @type EnablePdf: Boolean
|
@@ -9313,16 +9144,9 @@ module TencentCloud
|
|
9313
9144
|
|
9314
9145
|
# RecognizeHealthCodeOCR请求参数结构体
|
9315
9146
|
class RecognizeHealthCodeOCRRequest < TencentCloud::Common::AbstractModel
|
9316
|
-
# @param ImageBase64: 图片的 Base64
|
9317
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9318
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
9319
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9147
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9320
9148
|
# @type ImageBase64: String
|
9321
|
-
# @param ImageUrl: 图片的 Url
|
9322
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9323
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
9324
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
9325
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9149
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9326
9150
|
# @type ImageUrl: String
|
9327
9151
|
# @param Type: 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
9328
9152
|
# 0:自动识别
|
@@ -9401,16 +9225,9 @@ module TencentCloud
|
|
9401
9225
|
|
9402
9226
|
# RecognizeMedicalInvoiceOCR请求参数结构体
|
9403
9227
|
class RecognizeMedicalInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
9404
|
-
# @param ImageBase64: 图片的Base64
|
9405
|
-
# 支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9406
|
-
# 支持的图片大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
9407
|
-
# 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9228
|
+
# @param ImageBase64: 图片的Base64 值。支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载文件经Base64编码后不超过 10M。文件下载时间不超过 3 秒。输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9408
9229
|
# @type ImageBase64: String
|
9409
|
-
# @param ImageUrl: 图片的Url
|
9410
|
-
# 支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9411
|
-
# 支持的图片大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
9412
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
9413
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9230
|
+
# @param ImageUrl: 图片的Url 地址。支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载文件经 Base64 编码后不超过 10M。文件下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9414
9231
|
# @type ImageUrl: String
|
9415
9232
|
# @param ReturnVertex: 是否需要返回识别出的文本行在原图上的四点坐标,默认不返回
|
9416
9233
|
# @type ReturnVertex: Boolean
|
@@ -9475,16 +9292,9 @@ module TencentCloud
|
|
9475
9292
|
|
9476
9293
|
# RecognizeOnlineTaxiItineraryOCR请求参数结构体
|
9477
9294
|
class RecognizeOnlineTaxiItineraryOCRRequest < TencentCloud::Common::AbstractModel
|
9478
|
-
# @param ImageBase64: 图片的 Base64
|
9479
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9480
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
9481
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9295
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9482
9296
|
# @type ImageBase64: String
|
9483
|
-
# @param ImageUrl: 图片的 Url
|
9484
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9485
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
9486
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
9487
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9297
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9488
9298
|
# @type ImageUrl: String
|
9489
9299
|
# @param IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
9490
9300
|
# @type IsPdf: Boolean
|
@@ -9537,13 +9347,9 @@ module TencentCloud
|
|
9537
9347
|
|
9538
9348
|
# RecognizeStoreName请求参数结构体
|
9539
9349
|
class RecognizeStoreNameRequest < TencentCloud::Common::AbstractModel
|
9540
|
-
# @param ImageBase64: 图片的 Base64
|
9541
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9542
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
9543
|
-
# 支持的图片像素:需介于20-10000px之间。
|
9544
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9350
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9545
9351
|
# @type ImageBase64: String
|
9546
|
-
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过
|
9352
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9547
9353
|
# @type ImageUrl: String
|
9548
9354
|
|
9549
9355
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -9596,16 +9402,9 @@ module TencentCloud
|
|
9596
9402
|
|
9597
9403
|
# RecognizeTableAccurateOCR请求参数结构体
|
9598
9404
|
class RecognizeTableAccurateOCRRequest < TencentCloud::Common::AbstractModel
|
9599
|
-
# @param ImageBase64: 图片/PDF的 Base64
|
9600
|
-
# 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
|
9601
|
-
# 图片支持的像素范围:需介于20-10000px之间。
|
9602
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9405
|
+
# @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9603
9406
|
# @type ImageBase64: String
|
9604
|
-
# @param ImageUrl: 图片/PDF的 Url
|
9605
|
-
# 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
|
9606
|
-
# 图片支持的像素范围:需介于20-10000px之间。
|
9607
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定
|
9608
|
-
# 性可能受一定影响。
|
9407
|
+
# @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9609
9408
|
# @type ImageUrl: String
|
9610
9409
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF有效,默认值为1。
|
9611
9410
|
# @type PdfPageNumber: Integer
|
@@ -9744,15 +9543,13 @@ module TencentCloud
|
|
9744
9543
|
|
9745
9544
|
# RecognizeThaiIDCardOCR请求参数结构体
|
9746
9545
|
class RecognizeThaiIDCardOCRRequest < TencentCloud::Common::AbstractModel
|
9747
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
9748
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9546
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9749
9547
|
# @type ImageBase64: String
|
9750
|
-
# @param BackImageBase64: 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过
|
9548
|
+
# @param BackImageBase64: 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9751
9549
|
# @type BackImageBase64: String
|
9752
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
9753
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
9550
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
9754
9551
|
# @type ImageUrl: String
|
9755
|
-
# @param BackImageUrl: 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过
|
9552
|
+
# @param BackImageUrl: 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9756
9553
|
# @type BackImageUrl: String
|
9757
9554
|
# @param CropPortrait: 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
|
9758
9555
|
# 设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
|
@@ -9877,16 +9674,9 @@ module TencentCloud
|
|
9877
9674
|
|
9878
9675
|
# RecognizeTravelCardOCR请求参数结构体
|
9879
9676
|
class RecognizeTravelCardOCRRequest < TencentCloud::Common::AbstractModel
|
9880
|
-
# @param ImageBase64: 图片的 Base64
|
9881
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9882
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
9883
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9677
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9884
9678
|
# @type ImageBase64: String
|
9885
|
-
# @param ImageUrl: 图片的 Url
|
9886
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9887
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
9888
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
9889
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9679
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9890
9680
|
# @type ImageUrl: String
|
9891
9681
|
|
9892
9682
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -9940,11 +9730,9 @@ module TencentCloud
|
|
9940
9730
|
|
9941
9731
|
# RecognizeValidIDCardOCR请求参数结构体
|
9942
9732
|
class RecognizeValidIDCardOCRRequest < TencentCloud::Common::AbstractModel
|
9943
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
9944
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9733
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9945
9734
|
# @type ImageBase64: String
|
9946
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
9947
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
9735
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
9948
9736
|
# @type ImageUrl: String
|
9949
9737
|
# @param CardType: 0 自动,自动判断输入证件的类型
|
9950
9738
|
# 1 身份证人像面,指定输入证件类型为二代身份证人像面
|
@@ -10121,16 +9909,9 @@ module TencentCloud
|
|
10121
9909
|
|
10122
9910
|
# ResidenceBookletOCR请求参数结构体
|
10123
9911
|
class ResidenceBookletOCRRequest < TencentCloud::Common::AbstractModel
|
10124
|
-
# @param ImageBase64: 图片的 Base64
|
10125
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10126
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
10127
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9912
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10128
9913
|
# @type ImageBase64: String
|
10129
|
-
# @param ImageUrl: 图片的 Url
|
10130
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10131
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
10132
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
10133
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9914
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10134
9915
|
# @type ImageUrl: String
|
10135
9916
|
|
10136
9917
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -10474,11 +10255,9 @@ module TencentCloud
|
|
10474
10255
|
|
10475
10256
|
# RideHailingDriverLicenseOCR请求参数结构体
|
10476
10257
|
class RideHailingDriverLicenseOCRRequest < TencentCloud::Common::AbstractModel
|
10477
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
10478
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10258
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10479
10259
|
# @type ImageBase64: String
|
10480
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
10481
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10260
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10482
10261
|
# @type ImageUrl: String
|
10483
10262
|
|
10484
10263
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -10532,11 +10311,9 @@ module TencentCloud
|
|
10532
10311
|
|
10533
10312
|
# RideHailingTransportLicenseOCR请求参数结构体
|
10534
10313
|
class RideHailingTransportLicenseOCRRequest < TencentCloud::Common::AbstractModel
|
10535
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
10536
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10314
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10537
10315
|
# @type ImageBase64: String
|
10538
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
10539
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10316
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10540
10317
|
# @type ImageUrl: String
|
10541
10318
|
|
10542
10319
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -10657,11 +10434,9 @@ module TencentCloud
|
|
10657
10434
|
|
10658
10435
|
# SealOCR请求参数结构体
|
10659
10436
|
class SealOCRRequest < TencentCloud::Common::AbstractModel
|
10660
|
-
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过
|
10661
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10437
|
+
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10662
10438
|
# @type ImageBase64: String
|
10663
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过
|
10664
|
-
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10439
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10665
10440
|
# @type ImageUrl: String
|
10666
10441
|
# @param EnablePdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
10667
10442
|
# @type EnablePdf: Boolean
|
@@ -10766,16 +10541,9 @@ module TencentCloud
|
|
10766
10541
|
|
10767
10542
|
# ShipInvoiceOCR请求参数结构体
|
10768
10543
|
class ShipInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
10769
|
-
# @param ImageBase64: 图片的 Base64
|
10770
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10771
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
10772
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10544
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10773
10545
|
# @type ImageBase64: String
|
10774
|
-
# @param ImageUrl: 图片的 Url
|
10775
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10776
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
10777
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
10778
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10546
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10779
10547
|
# @type ImageUrl: String
|
10780
10548
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
10781
10549
|
# @type IsPdf: Boolean
|
@@ -11721,16 +11489,9 @@ module TencentCloud
|
|
11721
11489
|
|
11722
11490
|
# TaxiInvoiceOCR请求参数结构体
|
11723
11491
|
class TaxiInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
11724
|
-
# @param ImageBase64: 图片的 Base64
|
11725
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11726
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
11727
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11492
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11728
11493
|
# @type ImageBase64: String
|
11729
|
-
# @param ImageUrl: 图片的 Url
|
11730
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11731
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
11732
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
11733
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11494
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11734
11495
|
# @type ImageUrl: String
|
11735
11496
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
11736
11497
|
# @type IsPdf: Boolean
|
@@ -11756,9 +11517,9 @@ module TencentCloud
|
|
11756
11517
|
|
11757
11518
|
# TaxiInvoiceOCR返回参数结构体
|
11758
11519
|
class TaxiInvoiceOCRResponse < TencentCloud::Common::AbstractModel
|
11759
|
-
# @param InvoiceNum:
|
11520
|
+
# @param InvoiceNum: 发票号码
|
11760
11521
|
# @type InvoiceNum: String
|
11761
|
-
# @param InvoiceCode:
|
11522
|
+
# @param InvoiceCode: 发票代码
|
11762
11523
|
# @type InvoiceCode: String
|
11763
11524
|
# @param Date: 日期
|
11764
11525
|
# @type Date: String
|
@@ -12061,16 +11822,9 @@ module TencentCloud
|
|
12061
11822
|
|
12062
11823
|
# TextDetect请求参数结构体
|
12063
11824
|
class TextDetectRequest < TencentCloud::Common::AbstractModel
|
12064
|
-
# @param ImageBase64: 图片的 Base64
|
12065
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12066
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
12067
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11825
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
12068
11826
|
# @type ImageBase64: String
|
12069
|
-
# @param ImageUrl: 图片的 Url
|
12070
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12071
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
12072
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
12073
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11827
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12074
11828
|
# @type ImageUrl: String
|
12075
11829
|
|
12076
11830
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -12809,16 +12563,9 @@ module TencentCloud
|
|
12809
12563
|
|
12810
12564
|
# TollInvoiceOCR请求参数结构体
|
12811
12565
|
class TollInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
12812
|
-
# @param ImageBase64: 图片的 Base64
|
12813
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12814
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
12815
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
12566
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
12816
12567
|
# @type ImageBase64: String
|
12817
|
-
# @param ImageUrl: 图片的 Url
|
12818
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12819
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
12820
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
12821
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12568
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12822
12569
|
# @type ImageUrl: String
|
12823
12570
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
12824
12571
|
# @type IsPdf: Boolean
|
@@ -12991,16 +12738,9 @@ module TencentCloud
|
|
12991
12738
|
|
12992
12739
|
# TrainTicketOCR请求参数结构体
|
12993
12740
|
class TrainTicketOCRRequest < TencentCloud::Common::AbstractModel
|
12994
|
-
# @param ImageBase64: 图片的 Base64
|
12995
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12996
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
12997
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
12741
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
12998
12742
|
# @type ImageBase64: String
|
12999
|
-
# @param ImageUrl: 图片的 Url
|
13000
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
13001
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
13002
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
13003
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12743
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
13004
12744
|
# @type ImageUrl: String
|
13005
12745
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
13006
12746
|
# @type IsPdf: Boolean
|
@@ -14195,18 +13935,9 @@ module TencentCloud
|
|
14195
13935
|
|
14196
13936
|
# VatInvoiceOCR请求参数结构体
|
14197
13937
|
class VatInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
14198
|
-
# @param ImageBase64: 图片/PDF的 Base64
|
14199
|
-
# 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
14200
|
-
# 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
14201
|
-
# 支持的图片像素:需介于20-10000px之间。
|
14202
|
-
# 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
13938
|
+
# @param ImageBase64: 图片/PDF的 Base64 值。支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片/PDF大小:所下载文件经Base64编码后不超过 10M。文件下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
14203
13939
|
# @type ImageBase64: String
|
14204
|
-
# @param ImageUrl: 图片/PDF的 Url
|
14205
|
-
# 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
14206
|
-
# 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
14207
|
-
# 支持的图片像素:需介于20-10000px之间。
|
14208
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
14209
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
13940
|
+
# @param ImageUrl: 图片/PDF的 Url 地址。支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 10M。文件下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
14210
13941
|
# @type ImageUrl: String
|
14211
13942
|
# @param IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
14212
13943
|
# @type IsPdf: Boolean
|
@@ -14564,16 +14295,9 @@ module TencentCloud
|
|
14564
14295
|
|
14565
14296
|
# VatRollInvoiceOCR请求参数结构体
|
14566
14297
|
class VatRollInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
14567
|
-
# @param ImageBase64: 图片的 Base64
|
14568
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
14569
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
14570
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
14298
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
14571
14299
|
# @type ImageBase64: String
|
14572
|
-
# @param ImageUrl: 图片的 Url
|
14573
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
14574
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
14575
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
14576
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
14300
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
14577
14301
|
# @type ImageUrl: String
|
14578
14302
|
# @param IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
14579
14303
|
# @type IsPdf: Boolean
|
@@ -15073,16 +14797,9 @@ module TencentCloud
|
|
15073
14797
|
|
15074
14798
|
# VinOCR请求参数结构体
|
15075
14799
|
class VinOCRRequest < TencentCloud::Common::AbstractModel
|
15076
|
-
# @param ImageBase64: 图片的 Base64
|
15077
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
15078
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
15079
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
14800
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
15080
14801
|
# @type ImageBase64: String
|
15081
|
-
# @param ImageUrl: 图片的 Url
|
15082
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
15083
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
15084
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
15085
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
14802
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
15086
14803
|
# @type ImageUrl: String
|
15087
14804
|
|
15088
14805
|
attr_accessor :ImageBase64, :ImageUrl
|
@@ -15120,16 +14837,9 @@ module TencentCloud
|
|
15120
14837
|
|
15121
14838
|
# WaybillOCR请求参数结构体
|
15122
14839
|
class WaybillOCRRequest < TencentCloud::Common::AbstractModel
|
15123
|
-
# @param ImageBase64: 图片的 Base64
|
15124
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
15125
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
15126
|
-
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
14840
|
+
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
15127
14841
|
# @type ImageBase64: String
|
15128
|
-
# @param ImageUrl: 图片的 Url
|
15129
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
15130
|
-
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
15131
|
-
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
15132
|
-
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
14842
|
+
# @param ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
15133
14843
|
# @type ImageUrl: String
|
15134
14844
|
# @param EnablePreDetect: 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
|
15135
14845
|
# @type EnablePreDetect: Boolean
|
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.1092
|
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-
|
11
|
+
date: 2025-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|