Class: TencentCloud::Ocr::V20181119::RecognizeStoreNameRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeStoreNameRequest
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeStoreName请求参数结构体
Instance Attribute Summary collapse
-
#ImageBase64 ⇒ Object
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 支持的图片像素:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。.
-
#ImageUrl ⇒ Object
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 支持的图片像素:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil) ⇒ RecognizeStoreNameRequest
constructor
A new instance of RecognizeStoreNameRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil) ⇒ RecognizeStoreNameRequest
Returns a new instance of RecognizeStoreNameRequest.
8663 8664 8665 8666 |
# File 'lib/v20181119/models.rb', line 8663 def initialize(imagebase64=nil, imageurl=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl end |
Instance Attribute Details
#ImageBase64 ⇒ Object
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 支持的图片像素:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
8661 8662 8663 |
# File 'lib/v20181119/models.rb', line 8661 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 支持的图片像素:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
8661 8662 8663 |
# File 'lib/v20181119/models.rb', line 8661 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
8668 8669 8670 8671 |
# File 'lib/v20181119/models.rb', line 8668 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] end |