Class: TencentCloud::Ocr::V20181119::ClassifyDetectOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ClassifyDetectOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
ClassifyDetectOCR请求参数结构体
Instance Attribute Summary collapse
-
#DiscernType ⇒ Object
以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别.
-
#ImageBase64 ⇒ Object
以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别.
-
#ImageUrl ⇒ Object
以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, discerntype = nil) ⇒ ClassifyDetectOCRRequest
constructor
A new instance of ClassifyDetectOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, discerntype = nil) ⇒ ClassifyDetectOCRRequest
Returns a new instance of ClassifyDetectOCRRequest.
1315 1316 1317 1318 1319 |
# File 'lib/v20181119/models.rb', line 1315 def initialize(imagebase64=nil, imageurl=nil, discerntype=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @DiscernType = discerntype end |
Instance Attribute Details
#DiscernType ⇒ Object
以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别
1313 1314 1315 |
# File 'lib/v20181119/models.rb', line 1313 def DiscernType @DiscernType end |
#ImageBase64 ⇒ Object
以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别
1313 1314 1315 |
# File 'lib/v20181119/models.rb', line 1313 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
以下是当前支持的类型: IDCardFront: 身份证正面识别 IDCardBack: 身份证背面识别 Passport: 护照 BusinessCard: 名片识别 BankCard: 银行卡识别 VehicleLicenseFront: 行驶证主页识别 VehicleLicenseBack: 行驶证副页识别 DriverLicenseFront: 驾驶证主页识别 DriverLicenseBack: 驾驶证副页识别 PermitFront: 港澳台通行证正面 ResidenceBooklet: 户口本资料页 MainlandPermitFront: 港澳台来往内地通行证正面 HmtResidentPermitFront: 港澳台居住证正面 HmtResidentPermitBack: 港澳台居住证背面 EstateCert: 不动产证 BizLicense: 营业执照 ForeignPermanentResidentFront: 外国人永居证正面识别 ForeignPermanentResidentBack: 外国人永居证背面识别
1313 1314 1315 |
# File 'lib/v20181119/models.rb', line 1313 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
1321 1322 1323 1324 1325 |
# File 'lib/v20181119/models.rb', line 1321 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @DiscernType = params['DiscernType'] end |