Class: TencentCloud::Ocr::V20181119::GeneralEfficientOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::GeneralEfficientOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
GeneralEfficientOCR请求参数结构体
Instance Attribute Summary collapse
-
#ImageBase64 ⇒ Object
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。.
-
#ImageUrl ⇒ Object
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil) ⇒ GeneralEfficientOCRRequest
constructor
A new instance of GeneralEfficientOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil) ⇒ GeneralEfficientOCRRequest
Returns a new instance of GeneralEfficientOCRRequest.
3588 3589 3590 3591 |
# File 'lib/v20181119/models.rb', line 3588 def initialize(imagebase64=nil, imageurl=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl end |
Instance Attribute Details
#ImageBase64 ⇒ Object
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3586 3587 3588 |
# File 'lib/v20181119/models.rb', line 3586 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3586 3587 3588 |
# File 'lib/v20181119/models.rb', line 3586 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
3593 3594 3595 3596 |
# File 'lib/v20181119/models.rb', line 3593 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] end |