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.
9660 9661 9662 9663 9664 9665 9666 |
# File 'lib/v20181119/models.rb', line 9660 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编码
9658 9659 9660 |
# File 'lib/v20181119/models.rb', line 9658 def BackImageBase64 @BackImageBase64 end |
#BackImageUrl ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9658 9659 9660 |
# File 'lib/v20181119/models.rb', line 9658 def BackImageUrl @BackImageUrl end |
#CropPortrait ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9658 9659 9660 |
# File 'lib/v20181119/models.rb', line 9658 def CropPortrait @CropPortrait end |
#ImageBase64 ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9658 9659 9660 |
# File 'lib/v20181119/models.rb', line 9658 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
9658 9659 9660 |
# File 'lib/v20181119/models.rb', line 9658 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
9668 9669 9670 9671 9672 9673 9674 |
# File 'lib/v20181119/models.rb', line 9668 def deserialize(params) @ImageBase64 = params['ImageBase64'] @BackImageBase64 = params['BackImageBase64'] @ImageUrl = params['ImageUrl'] @BackImageUrl = params['BackImageUrl'] @CropPortrait = params['CropPortrait'] end |