tencentcloud-sdk-ocr 3.0.941 → 3.0.943
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 +51 -2
- data/lib/v20181119/models.rb +182 -9
- 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: a456d5448dafc0c3706ecfc6bd1ebf1441a713eb
|
4
|
+
data.tar.gz: 7c1e4a90d59b03ec5f2485a0435e81c68209ccf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db9e679f2ab66b5dff2a6e1a423450bed0475db99dc824e91476cd12e8f1643fbfbba963aa6bd1b2346e52741c18414675591a0b6f5c2cb182ce10d90203e75
|
7
|
+
data.tar.gz: 469d1445b34e28c0b523683ed5c0a8e671693ea4f1685835ad6f6350c30683539a305f1fe63e06777aa54b71d4340fa6e747be03f24954979b40611e562a07be
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.943
|
data/lib/v20181119/client.rb
CHANGED
@@ -460,7 +460,6 @@ module TencentCloud
|
|
460
460
|
|
461
461
|
# 默认接口请求频率限制:5次/秒。
|
462
462
|
|
463
|
-
|
464
463
|
# @param request: Request instance for EstateCertOCR.
|
465
464
|
# @type request: :class:`Tencentcloud::ocr::V20181119::EstateCertOCRRequest`
|
466
465
|
# @rtype: :class:`Tencentcloud::ocr::V20181119::EstateCertOCRResponse`
|
@@ -1839,6 +1838,54 @@ module TencentCloud
|
|
1839
1838
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1840
1839
|
end
|
1841
1840
|
|
1841
|
+
# 韩国驾驶证识别
|
1842
|
+
|
1843
|
+
# @param request: Request instance for RecognizeKoreanDrivingLicenseOCR.
|
1844
|
+
# @type request: :class:`Tencentcloud::ocr::V20181119::RecognizeKoreanDrivingLicenseOCRRequest`
|
1845
|
+
# @rtype: :class:`Tencentcloud::ocr::V20181119::RecognizeKoreanDrivingLicenseOCRResponse`
|
1846
|
+
def RecognizeKoreanDrivingLicenseOCR(request)
|
1847
|
+
body = send_request('RecognizeKoreanDrivingLicenseOCR', request.serialize)
|
1848
|
+
response = JSON.parse(body)
|
1849
|
+
if response['Response'].key?('Error') == false
|
1850
|
+
model = RecognizeKoreanDrivingLicenseOCRResponse.new
|
1851
|
+
model.deserialize(response['Response'])
|
1852
|
+
model
|
1853
|
+
else
|
1854
|
+
code = response['Response']['Error']['Code']
|
1855
|
+
message = response['Response']['Error']['Message']
|
1856
|
+
reqid = response['Response']['RequestId']
|
1857
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1858
|
+
end
|
1859
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1860
|
+
raise e
|
1861
|
+
rescue StandardError => e
|
1862
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# 韩国身份证识别
|
1866
|
+
|
1867
|
+
# @param request: Request instance for RecognizeKoreanIDCardOCR.
|
1868
|
+
# @type request: :class:`Tencentcloud::ocr::V20181119::RecognizeKoreanIDCardOCRRequest`
|
1869
|
+
# @rtype: :class:`Tencentcloud::ocr::V20181119::RecognizeKoreanIDCardOCRResponse`
|
1870
|
+
def RecognizeKoreanIDCardOCR(request)
|
1871
|
+
body = send_request('RecognizeKoreanIDCardOCR', request.serialize)
|
1872
|
+
response = JSON.parse(body)
|
1873
|
+
if response['Response'].key?('Error') == false
|
1874
|
+
model = RecognizeKoreanIDCardOCRResponse.new
|
1875
|
+
model.deserialize(response['Response'])
|
1876
|
+
model
|
1877
|
+
else
|
1878
|
+
code = response['Response']['Error']['Code']
|
1879
|
+
message = response['Response']['Error']['Message']
|
1880
|
+
reqid = response['Response']['RequestId']
|
1881
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1882
|
+
end
|
1883
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1884
|
+
raise e
|
1885
|
+
rescue StandardError => e
|
1886
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1887
|
+
end
|
1888
|
+
|
1842
1889
|
# 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
1843
1890
|
|
1844
1891
|
# 默认接口请求频率限制:5次/秒。
|
@@ -1893,6 +1940,8 @@ module TencentCloud
|
|
1893
1940
|
|
1894
1941
|
# 菲律宾驾驶证识别
|
1895
1942
|
|
1943
|
+
# 默认接口请求频率限制:20次/秒。
|
1944
|
+
|
1896
1945
|
# @param request: Request instance for RecognizePhilippinesDrivingLicenseOCR.
|
1897
1946
|
# @type request: :class:`Tencentcloud::ocr::V20181119::RecognizePhilippinesDrivingLicenseOCRRequest`
|
1898
1947
|
# @rtype: :class:`Tencentcloud::ocr::V20181119::RecognizePhilippinesDrivingLicenseOCRResponse`
|
@@ -2377,7 +2426,7 @@ module TencentCloud
|
|
2377
2426
|
|
2378
2427
|
# 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
2379
2428
|
|
2380
|
-
# 默认接口请求频率限制:
|
2429
|
+
# 默认接口请求频率限制:5次/秒。
|
2381
2430
|
|
2382
2431
|
# @param request: Request instance for SmartStructuralPro.
|
2383
2432
|
# @type request: :class:`Tencentcloud::ocr::V20181119::SmartStructuralProRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -2552,10 +2552,10 @@ module TencentCloud
|
|
2552
2552
|
|
2553
2553
|
# 敏感数据加密
|
2554
2554
|
class Encryption < TencentCloud::Common::AbstractModel
|
2555
|
-
# @param CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob
|
2555
|
+
# @param CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob(Base64编码),关于数据加密可查阅[敏感数据加密指引](https://cloud.tencent.com/document/product/866/106048)文档。
|
2556
2556
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2557
2557
|
# @type CiphertextBlob: String
|
2558
|
-
# @param Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16
|
2558
|
+
# @param Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符,Base64编码)。
|
2559
2559
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2560
2560
|
# @type Iv: String
|
2561
2561
|
# @param Algorithm: 加密使用的算法(支持'AES-256-CBC'、'SM4-GCM'),不传默认为'AES-256-CBC'
|
@@ -3460,7 +3460,7 @@ module TencentCloud
|
|
3460
3460
|
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3461
3461
|
# @type ImageBase64: String
|
3462
3462
|
# @param ImageUrl: 图片的 Url 地址。
|
3463
|
-
# 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP
|
3463
|
+
# 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
3464
3464
|
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3465
3465
|
# @type ImageUrl: String
|
3466
3466
|
# @param IsWords: 是否返回单字信息,默认关
|
@@ -3539,7 +3539,7 @@ module TencentCloud
|
|
3539
3539
|
class GeneralBasicOCRRequest < TencentCloud::Common::AbstractModel
|
3540
3540
|
# @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3541
3541
|
# @type ImageBase64: String
|
3542
|
-
# @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF
|
3542
|
+
# @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3543
3543
|
# @type ImageUrl: String
|
3544
3544
|
# @param Scene: 保留字段。
|
3545
3545
|
# @type Scene: String
|
@@ -3823,14 +3823,20 @@ module TencentCloud
|
|
3823
3823
|
# @type TextDetections: Array
|
3824
3824
|
# @param Angel: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
3825
3825
|
# @type Angel: Float
|
3826
|
+
# @param Angle: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
3827
|
+
# @type Angle: Float
|
3826
3828
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3827
3829
|
# @type RequestId: String
|
3828
3830
|
|
3829
|
-
attr_accessor :TextDetections, :Angel, :RequestId
|
3831
|
+
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3832
|
+
extend Gem::Deprecate
|
3833
|
+
deprecate :Angel, :none, 2024, 11
|
3834
|
+
deprecate :Angel=, :none, 2024, 11
|
3830
3835
|
|
3831
|
-
def initialize(textdetections=nil, angel=nil, requestid=nil)
|
3836
|
+
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3832
3837
|
@TextDetections = textdetections
|
3833
3838
|
@Angel = angel
|
3839
|
+
@Angle = angle
|
3834
3840
|
@RequestId = requestid
|
3835
3841
|
end
|
3836
3842
|
|
@@ -3844,6 +3850,7 @@ module TencentCloud
|
|
3844
3850
|
end
|
3845
3851
|
end
|
3846
3852
|
@Angel = params['Angel']
|
3853
|
+
@Angle = params['Angle']
|
3847
3854
|
@RequestId = params['RequestId']
|
3848
3855
|
end
|
3849
3856
|
end
|
@@ -7683,7 +7690,7 @@ module TencentCloud
|
|
7683
7690
|
|
7684
7691
|
# RecognizeEncryptedIDCardOCR请求参数结构体
|
7685
7692
|
class RecognizeEncryptedIDCardOCRRequest < TencentCloud::Common::AbstractModel
|
7686
|
-
# @param EncryptedBody:
|
7693
|
+
# @param EncryptedBody: 请求体被加密后的密文(Base64编码),本接口只支持加密传输
|
7687
7694
|
# @type EncryptedBody: String
|
7688
7695
|
# @param Encryption: 敏感数据加密信息。对传入信息有加密需求的用户可使用此参数,详情请点击左侧链接。
|
7689
7696
|
# @type Encryption: :class:`Tencentcloud::Ocr.v20181119.models.Encryption`
|
@@ -7790,7 +7797,7 @@ module TencentCloud
|
|
7790
7797
|
# @type AdvancedInfo: String
|
7791
7798
|
# @param ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
7792
7799
|
# @type ReflectDetailInfos: Array
|
7793
|
-
# @param EncryptedBody:
|
7800
|
+
# @param EncryptedBody: 加密后的数据(Base64编码)
|
7794
7801
|
# @type EncryptedBody: String
|
7795
7802
|
# @param Encryption: 敏感数据加密信息
|
7796
7803
|
# @type Encryption: :class:`Tencentcloud::Ocr.v20181119.models.Encryption`
|
@@ -8366,6 +8373,172 @@ module TencentCloud
|
|
8366
8373
|
end
|
8367
8374
|
end
|
8368
8375
|
|
8376
|
+
# RecognizeKoreanDrivingLicenseOCR请求参数结构体
|
8377
|
+
class RecognizeKoreanDrivingLicenseOCRRequest < TencentCloud::Common::AbstractModel
|
8378
|
+
# @param ImageBase64: 图片的 Base64 值。
|
8379
|
+
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8380
|
+
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
8381
|
+
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8382
|
+
# @type ImageBase64: String
|
8383
|
+
# @param ImageUrl: 图片的 Url 地址。
|
8384
|
+
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8385
|
+
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
8386
|
+
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
8387
|
+
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8388
|
+
# @type ImageUrl: String
|
8389
|
+
# @param ReturnHeadImage: 是否返回人像照片。
|
8390
|
+
# @type ReturnHeadImage: Boolean
|
8391
|
+
|
8392
|
+
attr_accessor :ImageBase64, :ImageUrl, :ReturnHeadImage
|
8393
|
+
|
8394
|
+
def initialize(imagebase64=nil, imageurl=nil, returnheadimage=nil)
|
8395
|
+
@ImageBase64 = imagebase64
|
8396
|
+
@ImageUrl = imageurl
|
8397
|
+
@ReturnHeadImage = returnheadimage
|
8398
|
+
end
|
8399
|
+
|
8400
|
+
def deserialize(params)
|
8401
|
+
@ImageBase64 = params['ImageBase64']
|
8402
|
+
@ImageUrl = params['ImageUrl']
|
8403
|
+
@ReturnHeadImage = params['ReturnHeadImage']
|
8404
|
+
end
|
8405
|
+
end
|
8406
|
+
|
8407
|
+
# RecognizeKoreanDrivingLicenseOCR返回参数结构体
|
8408
|
+
class RecognizeKoreanDrivingLicenseOCRResponse < TencentCloud::Common::AbstractModel
|
8409
|
+
# @param ID: 身份证号码
|
8410
|
+
# @type ID: String
|
8411
|
+
# @param LicenseNumber: 驾照号码
|
8412
|
+
# @type LicenseNumber: String
|
8413
|
+
# @param Number: 居民登记号码
|
8414
|
+
# @type Number: String
|
8415
|
+
# @param Type: 驾照类型
|
8416
|
+
# @type Type: String
|
8417
|
+
# @param Address: 地址
|
8418
|
+
# @type Address: String
|
8419
|
+
# @param Name: 姓名
|
8420
|
+
# @type Name: String
|
8421
|
+
# @param AptitudeTesDate: 换证时间
|
8422
|
+
# @type AptitudeTesDate: String
|
8423
|
+
# @param DateOfIssue: 发证日期
|
8424
|
+
# @type DateOfIssue: String
|
8425
|
+
# @param Photo: 人像截图Base64后的结果
|
8426
|
+
# @type Photo: String
|
8427
|
+
# @param Sex: 性别
|
8428
|
+
# @type Sex: String
|
8429
|
+
# @param Birthday: 生日,格式为dd/mm/yyyy
|
8430
|
+
# @type Birthday: String
|
8431
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8432
|
+
# @type RequestId: String
|
8433
|
+
|
8434
|
+
attr_accessor :ID, :LicenseNumber, :Number, :Type, :Address, :Name, :AptitudeTesDate, :DateOfIssue, :Photo, :Sex, :Birthday, :RequestId
|
8435
|
+
|
8436
|
+
def initialize(id=nil, licensenumber=nil, number=nil, type=nil, address=nil, name=nil, aptitudetesdate=nil, dateofissue=nil, photo=nil, sex=nil, birthday=nil, requestid=nil)
|
8437
|
+
@ID = id
|
8438
|
+
@LicenseNumber = licensenumber
|
8439
|
+
@Number = number
|
8440
|
+
@Type = type
|
8441
|
+
@Address = address
|
8442
|
+
@Name = name
|
8443
|
+
@AptitudeTesDate = aptitudetesdate
|
8444
|
+
@DateOfIssue = dateofissue
|
8445
|
+
@Photo = photo
|
8446
|
+
@Sex = sex
|
8447
|
+
@Birthday = birthday
|
8448
|
+
@RequestId = requestid
|
8449
|
+
end
|
8450
|
+
|
8451
|
+
def deserialize(params)
|
8452
|
+
@ID = params['ID']
|
8453
|
+
@LicenseNumber = params['LicenseNumber']
|
8454
|
+
@Number = params['Number']
|
8455
|
+
@Type = params['Type']
|
8456
|
+
@Address = params['Address']
|
8457
|
+
@Name = params['Name']
|
8458
|
+
@AptitudeTesDate = params['AptitudeTesDate']
|
8459
|
+
@DateOfIssue = params['DateOfIssue']
|
8460
|
+
@Photo = params['Photo']
|
8461
|
+
@Sex = params['Sex']
|
8462
|
+
@Birthday = params['Birthday']
|
8463
|
+
@RequestId = params['RequestId']
|
8464
|
+
end
|
8465
|
+
end
|
8466
|
+
|
8467
|
+
# RecognizeKoreanIDCardOCR请求参数结构体
|
8468
|
+
class RecognizeKoreanIDCardOCRRequest < TencentCloud::Common::AbstractModel
|
8469
|
+
# @param ImageBase64: 图片的 Base64 值。
|
8470
|
+
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8471
|
+
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
8472
|
+
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8473
|
+
# @type ImageBase64: String
|
8474
|
+
# @param ImageUrl: 图片的 Url 地址。
|
8475
|
+
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8476
|
+
# 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
8477
|
+
# 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
8478
|
+
# 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8479
|
+
# @type ImageUrl: String
|
8480
|
+
# @param ReturnHeadImage: 是否返回人像照片。
|
8481
|
+
# @type ReturnHeadImage: Boolean
|
8482
|
+
|
8483
|
+
attr_accessor :ImageBase64, :ImageUrl, :ReturnHeadImage
|
8484
|
+
|
8485
|
+
def initialize(imagebase64=nil, imageurl=nil, returnheadimage=nil)
|
8486
|
+
@ImageBase64 = imagebase64
|
8487
|
+
@ImageUrl = imageurl
|
8488
|
+
@ReturnHeadImage = returnheadimage
|
8489
|
+
end
|
8490
|
+
|
8491
|
+
def deserialize(params)
|
8492
|
+
@ImageBase64 = params['ImageBase64']
|
8493
|
+
@ImageUrl = params['ImageUrl']
|
8494
|
+
@ReturnHeadImage = params['ReturnHeadImage']
|
8495
|
+
end
|
8496
|
+
end
|
8497
|
+
|
8498
|
+
# RecognizeKoreanIDCardOCR返回参数结构体
|
8499
|
+
class RecognizeKoreanIDCardOCRResponse < TencentCloud::Common::AbstractModel
|
8500
|
+
# @param ID: 身份证号码
|
8501
|
+
# @type ID: String
|
8502
|
+
# @param Address: 地址
|
8503
|
+
# @type Address: String
|
8504
|
+
# @param Name: 姓名
|
8505
|
+
# @type Name: String
|
8506
|
+
# @param DateOfIssue: 发证日期
|
8507
|
+
# @type DateOfIssue: String
|
8508
|
+
# @param Photo: 人像截图Base64后的结果
|
8509
|
+
# @type Photo: String
|
8510
|
+
# @param Sex: 性别
|
8511
|
+
# @type Sex: String
|
8512
|
+
# @param Birthday: 生日,格式为dd/mm/yyyy
|
8513
|
+
# @type Birthday: String
|
8514
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8515
|
+
# @type RequestId: String
|
8516
|
+
|
8517
|
+
attr_accessor :ID, :Address, :Name, :DateOfIssue, :Photo, :Sex, :Birthday, :RequestId
|
8518
|
+
|
8519
|
+
def initialize(id=nil, address=nil, name=nil, dateofissue=nil, photo=nil, sex=nil, birthday=nil, requestid=nil)
|
8520
|
+
@ID = id
|
8521
|
+
@Address = address
|
8522
|
+
@Name = name
|
8523
|
+
@DateOfIssue = dateofissue
|
8524
|
+
@Photo = photo
|
8525
|
+
@Sex = sex
|
8526
|
+
@Birthday = birthday
|
8527
|
+
@RequestId = requestid
|
8528
|
+
end
|
8529
|
+
|
8530
|
+
def deserialize(params)
|
8531
|
+
@ID = params['ID']
|
8532
|
+
@Address = params['Address']
|
8533
|
+
@Name = params['Name']
|
8534
|
+
@DateOfIssue = params['DateOfIssue']
|
8535
|
+
@Photo = params['Photo']
|
8536
|
+
@Sex = params['Sex']
|
8537
|
+
@Birthday = params['Birthday']
|
8538
|
+
@RequestId = params['RequestId']
|
8539
|
+
end
|
8540
|
+
end
|
8541
|
+
|
8369
8542
|
# RecognizeMedicalInvoiceOCR请求参数结构体
|
8370
8543
|
class RecognizeMedicalInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
8371
8544
|
# @param ImageBase64: 图片的Base64 值。
|
@@ -9536,7 +9709,7 @@ module TencentCloud
|
|
9536
9709
|
class ReconstructDocumentRequest < TencentCloud::Common::AbstractModel
|
9537
9710
|
# @param FileType: PDF,Image
|
9538
9711
|
# @type FileType: String
|
9539
|
-
# @param FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的
|
9712
|
+
# @param FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
9540
9713
|
# @type FileBase64: String
|
9541
9714
|
# @param FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9542
9715
|
# @type FileUrl: String
|
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.943
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|