Class: TencentCloud::Ocr::V20181119::RideHailingTransportLicenseOCRRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

RideHailingTransportLicenseOCR请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imagebase64 = nil, imageurl = nil) ⇒ RideHailingTransportLicenseOCRRequest

Returns a new instance of RideHailingTransportLicenseOCRRequest.



9394
9395
9396
9397
# File 'lib/v20181119/models.rb', line 9394

def initialize(imagebase64=nil, imageurl=nil)
  @ImageBase64 = imagebase64
  @ImageUrl = imageurl
end

Instance Attribute Details

#ImageBase64Object

图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。

Parameters:

  • ImageBase64:

    图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。

  • ImageUrl:

    图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。



9392
9393
9394
# File 'lib/v20181119/models.rb', line 9392

def ImageBase64
  @ImageBase64
end

#ImageUrlObject

图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。

Parameters:

  • ImageBase64:

    图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。

  • ImageUrl:

    图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。



9392
9393
9394
# File 'lib/v20181119/models.rb', line 9392

def ImageUrl
  @ImageUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



9399
9400
9401
9402
# File 'lib/v20181119/models.rb', line 9399

def deserialize(params)
  @ImageBase64 = params['ImageBase64']
  @ImageUrl = params['ImageUrl']
end