Class: TencentCloud::Ocr::V20181119::RideHailingDriverLicenseOCRRequest

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

Overview

RideHailingDriverLicenseOCR请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RideHailingDriverLicenseOCRRequest.



10424
10425
10426
10427
# File 'lib/v20181119/models.rb', line 10424

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

Instance Attribute Details

#ImageBase64Object

Parameters:

  • ImageBase64:

    图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。

  • ImageUrl:

    图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。



10422
10423
10424
# File 'lib/v20181119/models.rb', line 10422

def ImageBase64
  @ImageBase64
end

#ImageUrlObject

Parameters:

  • ImageBase64:

    图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。

  • ImageUrl:

    图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。



10422
10423
10424
# File 'lib/v20181119/models.rb', line 10422

def ImageUrl
  @ImageUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



10429
10430
10431
10432
# File 'lib/v20181119/models.rb', line 10429

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