Class: TencentCloud::Ocr::V20181119::RecognizeThaiIDCardOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeThaiIDCardOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeThaiIDCardOCR请求参数结构体
Instance Attribute Summary collapse
-
#BackImageBase64 ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码.
-
#BackImageUrl ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码.
-
#CropPortrait ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码.
-
#ImageBase64 ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码.
-
#ImageUrl ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, backimagebase64 = nil, imageurl = nil, backimageurl = nil, cropportrait = nil) ⇒ RecognizeThaiIDCardOCRRequest
constructor
A new instance of RecognizeThaiIDCardOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, backimagebase64 = nil, imageurl = nil, backimageurl = nil, cropportrait = nil) ⇒ RecognizeThaiIDCardOCRRequest
Returns a new instance of RecognizeThaiIDCardOCRRequest.
9688 9689 9690 9691 9692 9693 9694 |
# File 'lib/v20181119/models.rb', line 9688 def initialize(imagebase64=nil, backimagebase64=nil, imageurl=nil, backimageurl=nil, cropportrait=nil) @ImageBase64 = imagebase64 @BackImageBase64 = backimagebase64 @ImageUrl = imageurl @BackImageUrl = backimageurl @CropPortrait = cropportrait end |
Instance Attribute Details
#BackImageBase64 ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9686 9687 9688 |
# File 'lib/v20181119/models.rb', line 9686 def BackImageBase64 @BackImageBase64 end |
#BackImageUrl ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9686 9687 9688 |
# File 'lib/v20181119/models.rb', line 9686 def BackImageUrl @BackImageUrl end |
#CropPortrait ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9686 9687 9688 |
# File 'lib/v20181119/models.rb', line 9686 def CropPortrait @CropPortrait end |
#ImageBase64 ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9686 9687 9688 |
# File 'lib/v20181119/models.rb', line 9686 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9686 9687 9688 |
# File 'lib/v20181119/models.rb', line 9686 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
9696 9697 9698 9699 9700 9701 9702 |
# File 'lib/v20181119/models.rb', line 9696 def deserialize(params) @ImageBase64 = params['ImageBase64'] @BackImageBase64 = params['BackImageBase64'] @ImageUrl = params['ImageUrl'] @BackImageUrl = params['BackImageUrl'] @CropPortrait = params['CropPortrait'] end |