Class: TencentCloud::Ocr::V20181119::ClassifyDetectOCRRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

ClassifyDetectOCR请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imagebase64 = nil, imageurl = nil, discerntype = nil) ⇒ ClassifyDetectOCRRequest

Returns a new instance of ClassifyDetectOCRRequest.



1273
1274
1275
1276
1277
# File 'lib/v20181119/models.rb', line 1273

def initialize(imagebase64=nil, imageurl=nil, discerntype=nil)
  @ImageBase64 = imagebase64
  @ImageUrl = imageurl
  @DiscernType = discerntype
end

Instance Attribute Details

#DiscernTypeObject

以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别



1271
1272
1273
# File 'lib/v20181119/models.rb', line 1271

def DiscernType
  @DiscernType
end

#ImageBase64Object

以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别



1271
1272
1273
# File 'lib/v20181119/models.rb', line 1271

def ImageBase64
  @ImageBase64
end

#ImageUrlObject

以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别



1271
1272
1273
# File 'lib/v20181119/models.rb', line 1271

def ImageUrl
  @ImageUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



1279
1280
1281
1282
1283
# File 'lib/v20181119/models.rb', line 1279

def deserialize(params)
  @ImageBase64 = params['ImageBase64']
  @ImageUrl = params['ImageUrl']
  @DiscernType = params['DiscernType']
end