Class: TencentCloud::Ocr::V20181119::DriverLicenseOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::DriverLicenseOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
DriverLicenseOCR请求参数结构体
Instance Attribute Summary collapse
-
#CardSide ⇒ Object
BACK 为驾驶证副页正面(有档案编号的一面)。 DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别 默认值为:FRONT。.
-
#ImageBase64 ⇒ Object
BACK 为驾驶证副页正面(有档案编号的一面)。 DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别 默认值为:FRONT。.
-
#ImageUrl ⇒ Object
BACK 为驾驶证副页正面(有档案编号的一面)。 DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别 默认值为:FRONT。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, cardside = nil) ⇒ DriverLicenseOCRRequest
constructor
A new instance of DriverLicenseOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, cardside = nil) ⇒ DriverLicenseOCRRequest
Returns a new instance of DriverLicenseOCRRequest.
1759 1760 1761 1762 1763 |
# File 'lib/v20181119/models.rb', line 1759 def initialize(imagebase64=nil, imageurl=nil, cardside=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @CardSide = cardside end |
Instance Attribute Details
#CardSide ⇒ Object
BACK 为驾驶证副页正面(有档案编号的一面)。DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别默认值为:FRONT。
1757 1758 1759 |
# File 'lib/v20181119/models.rb', line 1757 def CardSide @CardSide end |
#ImageBase64 ⇒ Object
BACK 为驾驶证副页正面(有档案编号的一面)。DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别默认值为:FRONT。
1757 1758 1759 |
# File 'lib/v20181119/models.rb', line 1757 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
BACK 为驾驶证副页正面(有档案编号的一面)。DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别默认值为:FRONT。
1757 1758 1759 |
# File 'lib/v20181119/models.rb', line 1757 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
1765 1766 1767 1768 1769 |
# File 'lib/v20181119/models.rb', line 1765 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @CardSide = params['CardSide'] end |